@types/angular-fullscreen
TypeScript icon, indicating that this package has built-in type declarations

1.0.36 • Public • Published

Installation

npm install --save @types/angular-fullscreen

Summary

This package contains type definitions for angular-fullscreen (https://github.com/fabiobiondi/angular-fullscreen).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-fullscreen.

index.d.ts

/// <reference types="angular" />

import * as angular from "angular";

declare module "angular" {
    export namespace fullscreen {
        /**
         * Prefixing interface name with "I" is not recommended: https://www.typescriptlang.org/Handbook#writing-dts-files
         * However, we let it here to keep consistency with all the other Angular-related definitions
         */
        interface IFullscreen {
            // enable document fullscreen
            all(): void;

            // enable or disable the document fullscreen
            toggleAll(): void;

            // enable fullscreen to a specific element
            enable(element: Element | HTMLElement): void;

            // disable fullscreen
            cancel(): void;

            // return true if fullscreen is enabled, otherwise false
            isEnabled(): boolean;

            // return true if fullscreen API is supported by your browser
            isSupported(): boolean;
        }
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: @types/angular

Credits

These definitions were written by Julien Paroche.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/angular-fullscreen

Weekly Downloads

29

Version

1.0.36

License

MIT

Unpacked Size

4.67 kB

Total Files

5

Last publish

Collaborators

  • types