Variable LayerSwitcherDOM
LayerSwitcherDOM: {
_addUID: (id: string) => string;
_createAdvancedToolDivElement: (obj: any) => HTMLElement;
_createAdvancedToolElement: (obj: { id: string }, tool: any) => HTMLElement;
_createAdvancedToolShowElement: (obj: any) => HTMLElement[];
_createBasicToolButtons: (obj: any) => HTMLElement;
_createBasicToolElement: (obj: any, tooltips: boolean) => HTMLElement;
_createBasicToolTitleElement: (obj: any, tooltips: boolean) => HTMLElement;
_createButtonHeaderElement: (options: any) => HTMLButtonElement;
_createButtonsGroupElement: (
options: {
className?: string;
id?: string;
left?: boolean;
size?: boolean;
},
) => HTMLDivElement;
_createContainerLayerElement: (
obj: {
description: string;
id: string;
layer: any;
opacity: Float;
title: string;
type: string;
visibility: boolean;
},
tooltips: boolean,
) => HTMLElement;
_createContainerLayerInfoElement: (obj: any) => HTMLElement;
_createContainerLayerStyleElement: (obj: any) => HTMLElement;
_createDeleteElement: (id: string) => HTMLElement;
_createDraggableElement: (elementDraggable: any, context: any) => void;
_createDragNDropElement: (obj: any) => HTMLDivElement;
_createEditionElement: (
obj: { editable: boolean; id: string; styles: any[]; tms: boolean },
tool: any,
) => HTMLElement;
_createExtentElement: (obj: { id: string }, tool: any) => HTMLElement;
_createGreyscaleElement: (
obj: { grayable: boolean; grayscale: boolean; id: string },
tool: any,
) => HTMLElement;
_createHeaderButtonsDivElement: () => HTMLDivElement;
_createInformationElement: (
obj: { description: string; id: string; title: string },
tool: any,
) => HTMLElement;
_createLayerNameDivElement: (obj: any, tooltips: boolean) => HTMLElement;
_createLayerNameElement: (obj: any, tooltips: boolean) => HTMLElement;
_createLayerProducerElement: (obj: any, tooltips: boolean) => HTMLElement;
_createLayerThumbnailElement: (obj: { thumbnail: string }) => HTMLElement;
_createMainContainerElement: () => HTMLElement;
_createMainCounterLayersElement: () => HTMLSpanElement;
_createMainInfoDivElement: () => HTMLDivElement;
_createMainInfoElement: () => HTMLElement;
_createMainLayerListElement: () => HTMLDivElement;
_createMainLayersDivElement: () => HTMLDivElement;
_createMainLayersElement: () => HTMLElement;
_createMainLayersShowElement: () => HTMLElement;
_createMainPictoElement: () => HTMLElement;
_createMainStyleDivElement: () => HTMLDivElement;
_createMainStyleElement: () => HTMLElement;
_createOpacityElement: (id: string, opacity: number) => HTMLElement[];
_createVisibilityElement: (obj: any) => HTMLElement[];
_moveElement: (element: HTMLElement, direction: any) => boolean;
_onMoveElement: (up: boolean, event: KeyboardEvent) => void;
_setAdvancedToolOptions: (
button: HTMLButtonElement,
tool: any,
setClick?: boolean,
) => HTMLButtonElement;
_setButtonIconStyle: (
button: HTMLButtonElement,
iconClass: string,
icon: string,
) => void;
} = ...
Type Declaration
-
_addUID: (id: string) => string
-
-
-
-
-
-
-
-
-
_createContainerLayerElement: (
obj: {
description: string;
id: string;
layer: any;
opacity: Float;
title: string;
type: string;
visibility: boolean;
},
tooltips: boolean,
) => HTMLElement
-
_createContainerLayerInfoElement: (obj: any) => HTMLElement
-
_createContainerLayerStyleElement: (obj: any) => HTMLElement
-
_createDeleteElement: (id: string) => HTMLElement
-
_createDraggableElement: (elementDraggable: any, context: any) => void
-
_createDragNDropElement: (obj: any) => HTMLDivElement
-
_createEditionElement: (
obj: { editable: boolean; id: string; styles: any[]; tms: boolean },
tool: any,
) => HTMLElement
-
_createExtentElement: (obj: { id: string }, tool: any) => HTMLElement
-
_createGreyscaleElement: (
obj: { grayable: boolean; grayscale: boolean; id: string },
tool: any,
) => HTMLElement
-
-
-
_createLayerNameDivElement: (obj: any, tooltips: boolean) => HTMLElement
-
_createLayerNameElement: (obj: any, tooltips: boolean) => HTMLElement
-
_createLayerProducerElement: (obj: any, tooltips: boolean) => HTMLElement
-
_createLayerThumbnailElement: (obj: { thumbnail: string }) => HTMLElement
-
_createMainContainerElement: () => HTMLElement
-
_createMainCounterLayersElement: () => HTMLSpanElement
-
_createMainInfoDivElement: () => HTMLDivElement
-
_createMainInfoElement: () => HTMLElement
-
_createMainLayerListElement: () => HTMLDivElement
-
_createMainLayersDivElement: () => HTMLDivElement
-
_createMainLayersElement: () => HTMLElement
-
_createMainLayersShowElement: () => HTMLElement
-
_createMainPictoElement: () => HTMLElement
-
_createMainStyleDivElement: () => HTMLDivElement
-
_createMainStyleElement: () => HTMLElement
-
_createOpacityElement: (id: string, opacity: number) => HTMLElement[]
-
_createVisibilityElement: (obj: any) => HTMLElement[]
-
_moveElement: (element: HTMLElement, direction: any) => boolean
-
_onMoveElement: (up: boolean, event: KeyboardEvent) => void
-
-
Add uuid to the tag ID