Skip to content

FilePropertyWidgetComponent

Unofficial

Property widget component for files.

Import:

import type { FilePropertyWidgetComponent } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface FilePropertyWidgetComponent extends PropertyWidgetComponentBase

Extends: PropertyWidgetComponentBase

Properties

PropertyTypeDescription
inputElHTMLInputElementThe input element for the property widget.
type'file'The type of the property widget.

Methods

MethodReturnsDescription
focus(mode?)voidFocus the property widget.
(Inherited from PropertyWidgetComponentBase)
onFocus()voidHandle focus event.
setValue(value)voidSet the value of the property widget.

Links to this page: