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
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>>css
Optional ownerEventDispatcherowner object initiated css changes

Returns

HTMLElement | HTMLElement[] | Plot

plot