Skip to main content

Interface: CountdownTimerEvent

Extends

  • CompositeEvent

Properties

compositeEventType

compositeEventType: "CountdownTimerTick" | "CountdownTimerComplete"

The type of the composite event.

Overrides

CompositeEvent.compositeEventType

Defined in

m2c2kit/packages/addons/src/composites/countdown-timer.ts:60


compositeType

compositeType: "CountdownTimer"

The type of the composite node.

Overrides

CompositeEvent.compositeType

Defined in

m2c2kit/packages/addons/src/composites/countdown-timer.ts:59


handled?

optional handled: boolean

Has the event been taken care of by the listener and not be dispatched to other targets?

Inherited from

CompositeEvent.handled

Defined in

node_modules/@m2c2kit/core/dist/index.d.ts:2319


iso8601Timestamp

iso8601Timestamp: string

Timestamp of th event, from new Date().toISOString()

Inherited from

CompositeEvent.iso8601Timestamp

Defined in

node_modules/@m2c2kit/core/dist/index.d.ts:2323


millisecondsRemaining

millisecondsRemaining: number

Defined in

m2c2kit/packages/addons/src/composites/countdown-timer.ts:61


sequence?

optional sequence: number

Sequence number of event.

Remarks

Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.

Inherited from

CompositeEvent.sequence

Defined in

node_modules/@m2c2kit/core/dist/index.d.ts:2328


target

target: string | CountdownTimer

The Composite on which the event occurred. If the event has gone through serialization, the string will be the composite's UUID.

Overrides

CompositeEvent.target

Defined in

m2c2kit/packages/addons/src/composites/countdown-timer.ts:62


timestamp

timestamp: number

Timestamp of the event, from performance.now()

Inherited from

CompositeEvent.timestamp

Defined in

node_modules/@m2c2kit/core/dist/index.d.ts:2321


type

type: "Composite"

Overrides

CompositeEvent.type

Defined in

m2c2kit/packages/addons/src/composites/countdown-timer.ts:58