Skip to content
Last updated

API / geotoolkit / controls / util / Helpers / Helpers

Class: Helpers

util.Helpers.Helpers

Defines an utility class with DOM helper methods

Table of contents

Constructors
  • [new Helpers()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.controls.util-1.helpers.helpers.md#new helpers())
Methods

Contents

Constructors

new Helpers()

• new Helpers()

Methods

getClassName

▸ getClassName(): string

Returns

string


getClassName

▸ Static getClassName(): string

Returns

string


setCss

▸ Static setCss(plot, css, owner?): HTMLElement | HTMLElement[] | Plot

Set css on canvas element

Parameters

Name Type Description
plotHTMLElement | HTMLElement[] | Plotplot
cssPartial<KeysToKebabCase<CSSStyleDeclaration&gt;&gt;css
Optional ownerEventDispatcherowner object initiated css changes

Returns

HTMLElement | HTMLElement[] | Plot

plot