TimerView.model
property · packages/mixins-ui/src/timer.ts:279
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/timer.ts:278
interface TimerView<Message> {
readonly model: Model
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>
readonly label: string
readonly units?: ReadonlyArray<Unit> | undefined
readonly separator?: string | undefined
readonly controls?: boolean | undefined
readonly labels?: Partial<TimerLabels> | undefined
readonly style?: NamedStyle<typeof TimerSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}TimerView.modelproperty · packages/mixins-ui/src/timer.ts:279
readonly model: ModelTimerView.onMessageproperty · packages/mixins-ui/src/timer.ts:281
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>Lifts the timer's own Messages into the application's.
TimerView.labelproperty · packages/mixins-ui/src/timer.ts:283
readonly label: stringWhat is timed, shown and naming the timer.
TimerView.unitsproperty · packages/mixins-ui/src/timer.ts:285
readonly units?: ReadonlyArray<Unit> | undefinedThe units shown, in any order; default hours, minutes and seconds.
TimerView.separatorproperty · packages/mixins-ui/src/timer.ts:287
readonly separator?: string | undefinedDrawn between units; default :.
TimerView.controlsproperty · packages/mixins-ui/src/timer.ts:289
readonly controls?: boolean | undefinedDraws the presses; default true. Without them, the application sends Pressed itself.
TimerView.labelsproperty · packages/mixins-ui/src/timer.ts:290
readonly labels?: Partial<TimerLabels> | undefinedTimerView.styleproperty · packages/mixins-ui/src/timer.ts:292
readonly style?: NamedStyle<typeof TimerSlots> | undefinedA style of TimerSlots, for the look.
TimerView.mixinsproperty · packages/mixins-ui/src/timer.ts:294
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.