DatetimePropertyWidgetComponent
Unofficial
Property widget component for datetimes.
Import:
import type { DatetimePropertyWidgetComponent } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface DatetimePropertyWidgetComponent extends DatePropertyWidgetComponentBaseExtends: DatePropertyWidgetComponentBase
Properties
| Property | Type | Description | |
|---|---|---|---|
| date? | moment.Moment | The date of the property widget. (Inherited from DatePropertyWidgetComponentBase) | |
| dirty | boolean | Whether the property widget is dirty. (Inherited from DatePropertyWidgetComponentBase) | |
| hoverPopup | HoverPopover | null | The hover popup for the property widget. (Inherited from DatePropertyWidgetComponentBase) | |
| inputEl | HTMLInputElement | The input element for the property widget. (Inherited from DatePropertyWidgetComponentBase) | |
| type | 'datetime' | The type of the property widget. | |
| value | string | The value of the property widget. (Inherited from DatePropertyWidgetComponentBase) |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| buildInput(parentEl) | HTMLInputElement | Build the input element for the property widget. (Inherited from DatePropertyWidgetComponentBase) | |
| focus(mode?) | void | Focus the property widget. (Inherited from DatePropertyWidgetComponentBase) | |
| format(input) | string | Format the date input. (Inherited from DatePropertyWidgetComponentBase) | |
| parse(input) | void | Parse the date input. (Inherited from DatePropertyWidgetComponentBase) |
Links to this page: