Files
DefinitelyTyped/leaflet.fullscreen/leaflet.fullscreen.d.ts
2016-03-17 21:06:54 +09:00

33 lines
794 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 path="../leaflet/leaflet.d.ts" />
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;
}
}