1.0.36 • Published 6 months ago

@types/angular-fullscreen v1.0.36

Weekly downloads
51
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/angular-fullscreen

Summary

This package contains type definitions for AngularJS HTML5 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

// Type definitions for AngularJS HTML5 Fullscreen v1.0.1
// Project: https://github.com/fabiobiondi/angular-fullscreen
// Definitions by: Julien Paroche <https://github.com/julienpa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <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: Tue, 07 Sep 2021 07:31:36 GMT
  • Dependencies: @types/angular
  • Global values: none

Credits

These definitions were written by Julien Paroche.

1.0.36

6 months ago

1.0.35

7 months ago

1.0.34

8 months ago

1.0.33

3 years ago

1.0.32

4 years ago

1.0.31

7 years ago

1.0.30

8 years ago

0.0.29

8 years ago

0.0.28-alpha

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.21-alpha

8 years ago

0.0.16-alpha

8 years ago

0.0.15-alpha

8 years ago