Skip to main content

Class: BlazeElement<T>

ui/element.BlazeElement

Provides a streamlined api to interact with UI elements in blaze.

Type parameters

NameType
Textends HTMLElement

Hierarchy

Constructors

constructor

โ€ข new BlazeElement<T>(element)

Creates a BlazeElement.

Type parameters

NameType
Textends HTMLElement

Parameters

NameTypeDescription
elementTAn HTML element

Defined in

src/ui/element.ts:19

Properties

element

โ€ข Readonly element: T

Defined in

src/ui/element.ts:9


keys

โ€ข Readonly keys: KeyboardHandler

Defined in

src/ui/element.ts:11


mouse

โ€ข Readonly mouse: MouseHandler

Defined in

src/ui/element.ts:10


touch

โ€ข Readonly touch: TouchHandler

Defined in

src/ui/element.ts:12