Class TJSFileIconButton
Hierarchy
- SvelteComponent<
TJSFileIconButton.Props,
TJSFileIconButton.Events,
TJSFileIconButton.Slots,
>- TJSFileIconButton (View Summary)
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
- new TJSFileIconButton(
options: ComponentConstructorOptions<TJSFileIconButton.Props>,
): TJSFileIconButtonParameters
Returns TJSFileIconButton
Methods
$destroy
Returns void
$on
Type Parameters
- K extends string
Parameters
- type: K
- callback: (e: TJSFileIconButton.Events[K]) => void
Returns () => void
Provides a pre-configured icon button interfacing w/ the Foundry file picker.
Please see FVTTFilePickerBrowseOptions for the
pickerOptionsprop. Please see TJSIconButton for the button component / CSS variable support.This component provides one way binding by default. You may explicitly bind to the
urlStringprop to create a two-way binding.