1.0.9 • Published 7 months ago

@types/leaflet-fullscreen v1.0.9

Weekly downloads
304
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/leaflet-fullscreen

Summary

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

Details

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

index.d.ts

// Type definitions for leaflet-fullscreen 1.0
// Project: https://github.com/Leaflet/Leaflet.fullscreen
// Definitions by: Denis Carriere <https://github.com/DenisCarriere>
//                 Brian Jubelirer <https://github.com/bjubes>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as L from 'leaflet';

declare module 'leaflet' {
    interface MapOptions {
        fullscreenControl?: true | FullscreenControlOptions | undefined;
    }

    interface FullscreenControlOptions extends ControlOptions {
        pseudoFullscreen?: boolean;
        title?: {
            'false': string,
            'true': string
        };
    }

    interface Map {
        isFullscreen: () => boolean;
        toggleFullscreen: (options?: FullscreenControlOptions) => void;
    }
}

Additional Details

  • Last updated: Mon, 06 Dec 2021 23:31:02 GMT
  • Dependencies: @types/leaflet
  • Global values: none

Credits

These definitions were written by Denis Carriere, and Brian Jubelirer.

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

9 months ago

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago