mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
change file names to match that of npm and bower
This commit is contained in:
1 parent
68186adc6d
commit
c4df2bf9f0
2 files changed
+13
-1
No files matched your search
+12
-1
@@ -1,6 +1,8 @@
|
||||
/// <reference path="leaflet-fullscreen.d.ts" />
|
||||
/// <reference path="leaflet.fullscreen.d.ts" />
|
||||
|
||||
var map: L.Map;
|
||||
|
||||
// Defaults
|
||||
var icon: L.Control.Fullscreen = L.control.fullscreen({
|
||||
position: 'topleft',
|
||||
title: 'Full Screen',
|
||||
@@ -10,3 +12,12 @@ var icon: L.Control.Fullscreen = L.control.fullscreen({
|
||||
});
|
||||
|
||||
icon.addTo(map);
|
||||
|
||||
|
||||
// My Usage
|
||||
|
||||
L.control.fullscreen({
|
||||
position: 'topleft',
|
||||
content: '<i class="fa fa-arrows-alt"></i>',
|
||||
forceSeparateButton: true,
|
||||
}).addTo(map);
|
||||
+1
@@ -12,6 +12,7 @@ declare module L {
|
||||
export interface Fullscreen extends L.Control {}
|
||||
|
||||
export interface FullscreenOptions {
|
||||
content?: string,
|
||||
position?: string,
|
||||
title?: string,
|
||||
titleCancel?: string,
|
||||
Reference in new issue
Block a user