DatePropertyWidgetComponent
Unofficial
Property widget component for dates.
Import:
import type { DatePropertyWidgetComponent } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface DatePropertyWidgetComponent extends DatePropertyWidgetComponentBaseExtends: DatePropertyWidgetComponentBase
Properties
| Property | Type | Description | |
|---|---|---|---|
| buttonEl | HTMLDivElement | null | The button element for the property widget. | |
| 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 | 'date' | 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) | |
| format(input) | string | Format the date input. (Inherited from DatePropertyWidgetComponentBase) | |
| parse(input) | void | Parse the date input. (Inherited from DatePropertyWidgetComponentBase) |
Links to this page: