Skip to content

Home > @jview/utils > listenFullscreen

listenFullscreen() function

监听全屏变化事件

Signature:

typescript
export declare function listenFullscreen(callback: EventListener, options?: boolean | AddEventListenerOptions): void;
export declare function listenFullscreen(callback: EventListener, options?: boolean | AddEventListenerOptions): void;

Parameters

ParameterTypeDescription
callbackEventListener回调函数
optionsboolean | AddEventListenerOptions(Optional) 监听事件选项,可选

Returns:

void