UNPKG

@ngx-extensions/screenfull

Version:
17 lines (16 loc) 498 B
import { ScreenfullService } from './screenfull.service'; /** * Binds a host element´s click to the {@see ScreenfullService} toggle method */ export declare class ToggleFullscreenDirective { private readonly _screenfullService; /** * Creates a new instance * @param _screenfullService the screen service singletone instance */ constructor(_screenfullService: ScreenfullService); /** * Toggles the fullscreen mode */ toggle(): void; }