UNPKG

saltfish

Version:

An interactive video-guided tour system for web applications

26 lines 885 B
/** * Utility functions for handling player dimensions */ export declare const SCREEN_EDGE_MARGIN = 20; export declare const RIGHT_EDGE_MARGIN = 20; /** * Gets the full width of the player from CSS variables * @returns The player width in pixels, or default value if not found */ export declare const getPlayerWidth: () => number; /** * Gets the minimized width of the player from CSS variables * @returns The minimized player width in pixels, or default value if not found */ export declare const getMinimizedPlayerWidth: () => number; /** * Gets the appropriate player width based on minimized state * @param isMinimized Whether the player is in minimized state * @returns The player width in pixels */ export declare const getPlayerDimensions: (isMinimized: boolean) => { width: number; minX: number; maxX: number; }; //# sourceMappingURL=dimensions.d.ts.map