Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/atmo-watch. atmo.watch
Something went wrong. Try again.
363 B · 20 lines
TypeScript
at main
123456789101112131415161718192021import type { VideoTarget } from './videos';
export const videoDialog: { open: boolean; target: VideoTarget | undefined; show: (target: VideoTarget) => void; hide: () => void;} = $state({ open: false, target: undefined,
show: (target) => { videoDialog.target = target; videoDialog.open = true; },
hide: () => { videoDialog.open = false; }});