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
Parameter | Type | Description |
---|---|---|
callback | EventListener | 回调函数 |
options | boolean | AddEventListenerOptions | (Optional) 监听事件选项,可选 |
Returns:
void