mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
33 lines
779 B
TypeScript
33 lines
779 B
TypeScript
// Type definitions for Leaflet.fullscreen v1.3.0
|
|
// Project: https://github.com/brunob/leaflet.fullscreen
|
|
// Definitions by: William Comartin <https://github.com/wcomartin>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="leaflet" />
|
|
|
|
declare namespace L {
|
|
|
|
namespace Control {
|
|
|
|
export interface Fullscreen extends L.Control {}
|
|
|
|
export interface FullscreenOptions {
|
|
content?: string,
|
|
position?: string,
|
|
title?: string,
|
|
titleCancel?: string,
|
|
forceSeparateButton?: boolean,
|
|
forcePseudoFullscreen?: boolean
|
|
}
|
|
}
|
|
|
|
namespace control {
|
|
|
|
/**
|
|
* Creates a fullscreen control.
|
|
*/
|
|
export function fullscreen(options?: Control.FullscreenOptions): L.Control.Fullscreen;
|
|
|
|
}
|
|
}
|