0.2.4 • Published 7 months ago
@types/leaflet.icon.glyph v0.2.4
Installation
npm install --save @types/leaflet.icon.glyph
Summary
This package contains type definitions for leaflet.icon.glyph (https://github.com/Leaflet/Leaflet.Icon.Glyph).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.icon.glyph.
index.d.ts
// Type definitions for leaflet.icon.glyph 0.2
// Project: https://github.com/Leaflet/Leaflet.Icon.Glyph
// Definitions by: BePo65 <https://github.com/BePo65>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as L from 'leaflet';
declare module 'leaflet' {
namespace Icon {
class Glyph extends Icon {
constructor(options?: GlyphOptions | GlyphIconOptions);
options: GlyphIconOptions;
createIcon(): HTMLElement;
}
interface GlyphOptions extends BaseIconOptions {
className?: string | undefined;
bgPos?: PointExpression | undefined;
bgSize?: PointExpression | undefined;
prefix?: string | undefined;
glyph?: string | undefined;
glyphColor?: string | undefined;
glyphSize?: string | undefined;
glyphAnchor?: PointExpression | undefined;
}
interface GlyphIconOptions extends IconOptions {
className?: string | undefined;
bgPos?: PointExpression | undefined;
bgSize?: PointExpression | undefined;
prefix?: string | undefined;
glyph?: string | undefined;
glyphColor?: string | undefined;
glyphSize?: string | undefined;
glyphAnchor?: PointExpression | undefined;
}
}
namespace icon {
function glyph(options?: Icon.GlyphOptions | Icon.GlyphIconOptions): Icon.Glyph;
}
}
Additional Details
- Last updated: Thu, 08 Jul 2021 16:23:38 GMT
- Dependencies: @types/leaflet
- Global values: none
Credits
These definitions were written by BePo65.