leaflet-styleeditor-minified
Version:
Edit the style of features drawn within Leaflet.
20 lines (19 loc) • 569 B
TypeScript
import FormElement from './FormElement';
import FormElementOptions from './FormElementOptions';
interface OpacityElementOptions extends FormElementOptions {
label: any;
slider: HTMLInputElement;
}
/**
* FormElement used to style opacity
*/
export default class OpacityFormElement extends FormElement {
options: OpacityElementOptions;
/** create number input box */
createContent(): void;
/** set correct value */
style(currentElement: any): void;
/** communicate opacity value */
_setStyle(currentElement: any): void;
}
export {};