Skip to content

DatePropertyWidgetComponent

Unofficial

Property widget component for dates.

Import:

import type { DatePropertyWidgetComponent } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface DatePropertyWidgetComponent extends DatePropertyWidgetComponentBase

Extends: DatePropertyWidgetComponentBase

Properties

PropertyTypeDescription
buttonElHTMLDivElement | nullThe button element for the property widget.
date?moment.MomentThe date of the property widget.
(Inherited from DatePropertyWidgetComponentBase)
dirtybooleanWhether the property widget is dirty.
(Inherited from DatePropertyWidgetComponentBase)
hoverPopupHoverPopover | nullThe hover popup for the property widget.
(Inherited from DatePropertyWidgetComponentBase)
inputElHTMLInputElementThe input element for the property widget.
(Inherited from DatePropertyWidgetComponentBase)
type'date'The type of the property widget.
valuestringThe value of the property widget.
(Inherited from DatePropertyWidgetComponentBase)

Methods

MethodReturnsDescription
buildInput(parentEl)HTMLInputElementBuild the input element for the property widget.
(Inherited from DatePropertyWidgetComponentBase)
format(input)stringFormat the date input.
(Inherited from DatePropertyWidgetComponentBase)
parse(input)voidParse the date input.
(Inherited from DatePropertyWidgetComponentBase)

Links to this page: