saltfish
Version:
An interactive video-guided tour system for web applications
34 lines • 1.17 kB
TypeScript
/**
* PlayerView is responsible for creating the main player DOM structure
* and appending it to the shadow DOM. It handles only the structural
* creation of the player interface.
*/
export declare class PlayerView {
private playerElement;
/**
* Creates the main player DOM structure
* @param shadowRoot - The shadow DOM root element to append to
* @returns The created player element
*/
create(shadowRoot: HTMLElement): HTMLElement;
/**
* Creates the controls container structure
* @param parentElement - The parent element to append the controls container to
* @returns The created controls container element
*/
createControlsContainer(parentElement: HTMLElement): HTMLElement;
/**
* Creates and adds the saltfish logo to the player
* @param parentElement - The parent element to append the logo to
*/
createSaltfishLogo(parentElement: HTMLElement): void;
/**
* Gets the player element
*/
getPlayerElement(): HTMLElement | null;
/**
* Destroys the player view and cleans up resources
*/
destroy(): void;
}
//# sourceMappingURL=PlayerView.d.ts.map