Skip to content

DatePropertyWidgetComponentBase

Unofficial

Base interface for date property widget components.

Import:

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

Signature:

export interface DatePropertyWidgetComponentBase extends PropertyWidgetComponentBase

Extends: PropertyWidgetComponentBase

Properties

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

Methods

MethodReturnsDescription
buildInput(parentEl)HTMLInputElementBuild the input element for the property widget.
focus(mode?)voidFocus the property widget.
(Inherited from PropertyWidgetComponentBase)
format(input)stringFormat the date input.
parse(input)voidParse the date input.

Links to this page: