3.0.2 • Published 2 years ago
@types/leaflet.fullscreen v3.0.2
Installation
npm install --save @types/leaflet.fullscreen
Summary
This package contains type definitions for Leaflet.fullscreen (https://github.com/brunob/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.6
// Project: https://github.com/brunob/leaflet.fullscreen
// Definitions by: William Comartin <https://github.com/wcomartin>
// Dan Manastireanu <https://github.com/danmana>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as L from 'leaflet';
declare module 'leaflet' {
namespace Control {
class Fullscreen extends Control {
constructor(options?: FullscreenOptions);
options: FullscreenOptions;
}
interface FullscreenOptions {
content?: string | undefined;
position?: ControlPosition | undefined;
title?: string | undefined;
titleCancel?: string | undefined;
forceSeparateButton?: boolean | undefined;
forcePseudoFullscreen?: boolean | undefined;
pseudoFullscreen?: boolean | undefined;
fullscreenElement?: false | HTMLElement | undefined;
}
}
namespace control {
/**
* Creates a fullscreen control.
*/
function fullscreen(options?: Control.FullscreenOptions): Control.Fullscreen;
}
interface MapOptions {
fullscreenControl?: boolean | undefined;
fullscreenControlOptions?: Control.FullscreenOptions | undefined;
}
interface Map {
toggleFullScreen(): void;
}
}
Additional Details
- Last updated: Thu, 08 Jul 2021 16:23:37 GMT
- Dependencies: @types/leaflet
- Global values: none
Credits
These definitions were written by William Comartin, and Dan Manastireanu.
1.6.2
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
1.6.1
4 years ago
1.6.0
5 years ago
1.3.34
8 years ago
1.3.33
8 years ago
1.3.32
8 years ago
1.3.31
8 years ago
1.3.30
8 years ago
1.3.29
9 years ago
1.3.28
9 years ago
1.3.27
9 years ago
1.3.26-alpha
9 years ago
1.3.25-alpha
9 years ago
1.3.24-alpha
9 years ago
1.3.23-alpha
9 years ago
1.3.22-alpha
9 years ago
1.3.21-alpha
9 years ago
1.3.20-alpha
9 years ago
1.3.15-alpha
9 years ago
1.3.14-alpha
9 years ago