Skip to main content

Class: BlazeDetails

ui/details.BlazeDetails

Hierarchy

Constructors

constructor

โ€ข new BlazeDetails(summary, content, size?)

Create a BlazeDetails.

Parameters

NameTypeDescription
summarystringThe detail's summary text
contentHTMLElementAn {@link HTMLElement} to place inside the details tag
size?numberThe summary tag's font size in rem units, if none is given then size will be auto

Overrides

BlazeElement.constructor

Defined in

src/ui/details.ts:18

Properties

content

โ€ข content: HTMLElement

Defined in

src/ui/details.ts:9


element

โ€ข Readonly element: HTMLDetailsElement

Inherited from

BlazeElement.element

Defined in

src/ui/element.ts:9


keys

โ€ข Readonly keys: KeyboardHandler

Inherited from

BlazeElement.keys

Defined in

src/ui/element.ts:11


mouse

โ€ข Readonly mouse: MouseHandler

Inherited from

BlazeElement.mouse

Defined in

src/ui/element.ts:10


summary

โ€ข summary: HTMLElement

Defined in

src/ui/details.ts:7


summaryText

โ€ข summaryText: BlazeHeading

Defined in

src/ui/details.ts:8


touch

โ€ข Readonly touch: TouchHandler

Inherited from

BlazeElement.touch

Defined in

src/ui/element.ts:12

Methods

setSize

โ–ธ setSize(size): void

Sets the summary tag's font size.

Parameters

NameTypeDescription
sizenumberThe summary tag's new font size in rem units

Returns

void

Defined in

src/ui/details.ts:38