mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
930 B
TypeScript
19 lines
930 B
TypeScript
// Type definitions for BigScreen 2.0.4
|
|
// Project: http://brad.is/coding/BigScreen/
|
|
// Definitions by: Douglas Eichelberger <https://github.com/dduugg>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export as namespace BigScreen;
|
|
|
|
export const element: Element;
|
|
export const enabled: boolean;
|
|
|
|
export function exit(): void;
|
|
export function onchange(element: Element): void;
|
|
export function onenter(element: Element): void;
|
|
export function onerror(element: Element, reason: string): void;
|
|
export function onexit(): void;
|
|
export function request(element: Element, onEnter?: (element: Element) => void, onExit?: () => void, onError?: (element: Element, reason: string) => void): void;
|
|
export function toggle(element?: Element, onEnter?: (element: Element) => void, onExit?: () => void, onError?: (element: Element, reason: string) => void): void;
|
|
export function videoEnabled(video: HTMLVideoElement): boolean;
|