API ReferenceGlobalsDomHelper

# Class: DomHelper

# Hierarchy

  • DomHelper

# Implements

# Index

# Constructors

# Properties

# Accessors

# Methods

# Constructors

# constructor

+ new DomHelper(creator: string): DomHelper

Defined in packages/common-core/src/utils/dom-helper.ts:26

Parameters:

Name Type
creator string

Returns: DomHelper

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/utils/dom-helper.ts:16

# Accessors

# element

get element(): HTMLElement

Defined in packages/common-core/src/utils/dom-helper.ts:24

Returns: HTMLElement

# Methods

# destroy

destroy(): void

Defined in packages/common-core/src/utils/dom-helper.ts:78

Returns: void


# getClientDimensions

getClientDimensions(): Vector2

Defined in packages/common-core/src/utils/dom-helper.ts:49

Returns: Vector2


# pause

pause(): void

Defined in packages/common-core/src/utils/dom-helper.ts:70

Returns: void


# reset

reset(): void

Defined in packages/common-core/src/utils/dom-helper.ts:63

Returns: void


# resume

resume(): void

Defined in packages/common-core/src/utils/dom-helper.ts:74

Returns: void


# setDomElement

setDomElement(element: HTMLElement): void

Defined in packages/common-core/src/utils/dom-helper.ts:33

Parameters:

Name Type
element HTMLElement

Returns: void