MCPcopy Create free account
hub / github.com/UI5/webcomponents / TimePickerClock

Class TimePickerClock

packages/main/src/TimePickerClock.ts:73–619  ·  view source on GitHub ↗

* @class * * ### Overview * * `ui5-time-picker-clock` allows selecting of hours,minutes or seconds (depending on property set). * The component supports interactions with mouse, touch and mouse wheel. * The step for displaying or selecting of items can be configured. * * `ui5-time-picker-clo

Source from the content-addressed store, hash-verified

71 * @private
72 */
73@customElement({
74 tag: "ui5-time-picker-clock",
75 renderer: jsxRenderer,
76 styles: TimePickerClockCss,
77 template: TimePickerClockTemplate,
78})
79
80/**
81 * Fired when a value of clock is changed.
82 * @param { integer } value The new `value` of the clock.
83 * @param { string } stringValue The new `value` of the clock, as string, zero-prepended when necessary.
84 * @param { boolean } finalChange `true` when a value is selected and confirmed, `false` when a value is only selected but not confirmed.
85 */
86@event("change", {
87 bubbles: true,
88})
89
90class TimePickerClock extends UI5Element {
91 eventDetails!: {
92 change: TimePickerClockChangeEventDetail,
93 };
94
95 /**
96 * Determines whether the component is displayed as disabled.
97 * @default false
98 */
99 @property({ type: Boolean })
100 disabled = false;
101
102 /**
103 * Determines whether the component is active (visible).
104 * @default false
105 */
106 @property({ type: Boolean })
107 active = false;
108
109 /**
110 * Minimum item value for the circle of the clock.
111 * @default -1
112 */
113 @property({ type: Number })
114 itemMin = -1;
115
116 /**
117 * Maximum item value for the circle of the clock.
118 * @default -1
119 */
120 @property({ type: Number })
121 itemMax = -1;
122
123 /**
124 * Label of the clock dial - for example, 'Hours', 'Minutes', or 'Seconds'.
125 * @default undefined
126 */
127 @property()
128 label?: string;
129
130 /**

Callers

nothing calls this directly

Calls 4

customElementFunction · 0.85
propertyFunction · 0.85
queryFunction · 0.85
eventFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…