You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/six-datepicker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -635,7 +635,7 @@ When using the `error-text` slot, it is recommended to use the `six-error` compo
635
635
| `closeOnSelect` | `close-on-select` | Closes the datepicker dropdown after selection | `boolean` | `this.type === 'date'` |
636
636
| `containingElement` | -- | The dropdown will close when the user interacts outside of this element (e.g. clicking). | `HTMLElement \| undefined` | `undefined` |
| `debounce` | `debounce` | Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke. | `number` | `DEFAULT_DEBOUNCE_FAST` |
638
+
| `debounce` | `debounce` | Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke. | `number` | `300` |
639
639
| `defaultDate` | `default-date` | The date to defines where the datepicker popup starts. The prop accepts ISO 8601 date strings (YYYY-MM-DD). | `string \| undefined` | `undefined` |
640
640
| `disabled` | `disabled` | If `true` the component is disabled. | `boolean` | `false` |
641
641
| `errorText` | `error-text` | The error message shown, if `invalid` is set to true. | `string \| string[]` | `''` |
|`debounce`|`debounce`| Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release |`number`|`DEFAULT_DEBOUNCE_FAST`|
347
-
|`interval`|`interval`| Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed. |`number`|`DEFAULT_DEBOUNCE_INSANELY_FAST`|
346
+
|`debounce`|`debounce`| Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release |`number`|`300`|
347
+
|`interval`|`interval`| Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed. |`number`|`35`|
348
348
|`items`| -- | Defines a custom list of items you can iterate through |`string[] \| undefined`|`undefined`|
349
349
|`max`|`max`| The maximum value allowed to pick. |`number \| string \| undefined`|`undefined`|
350
350
|`min`|`min`| The minimum value allowed to pick. |`number \| string \| undefined`|`undefined`|
@@ -354,7 +354,7 @@ However you can configure the padding according to your wishes by using `padding
354
354
|`paddingLength`|`padding-length`| Defines the length of the padded area |`number`|`2`|
355
355
|`roundtrip`|`roundtrip`| Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. |`boolean`|`true`|
356
356
|`step`|`step`| Defines how many steps should be taken when navigating |`number`|`1`|
357
-
|`timeout`|`timeout`| Set the amount of time, in milliseconds, to wait to trigger faster switching between items. |`number`|`DEFAULT_DEBOUNCE_FAST`|
357
+
|`timeout`|`timeout`| Set the amount of time, in milliseconds, to wait to trigger faster switching between items. |`number`|`300`|
358
358
|`type`|`type`| The type of items you want to rotate through. |`ItemPickerType.CAPITAL_LETTER \| ItemPickerType.CUSTOM \| ItemPickerType.LETTER \| ItemPickerType.LOWER_LETTER \| ItemPickerType.NUMBER`|`ItemPickerType.NUMBER`|
359
359
|`value`|`value`| The item picker's value attribute. |`number \| string`|`''`|
0 commit comments