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

Property Type Description
inputEl HTMLInputElement The input element for the property widget.
type 'file' The type of the property widget.

Methods

Method Returns Description
focus(mode?) void Focus the property widget.
(Inherited from PropertyWidgetComponentBase)
onFocus() void Handle focus event.
setValue(value) void Set the value of the property widget.

Links to this page: