Class TJSFileSlotButton
Hierarchy
- SvelteComponent<
TJSFileSlotButton.Props,
TJSFileSlotButton.Events,
TJSFileSlotButton.Slots,
>- TJSFileSlotButton (View Summary)
Indexable
- [prop: string]: any
Index
Constructors
Methods
Constructors
constructor
- new TJSFileSlotButton(
options: ComponentConstructorOptions<TJSFileSlotButton.Props>,
): TJSFileSlotButtonParameters
Returns TJSFileSlotButton
Methods
$destroy
Returns void
$on
Type Parameters
- K extends string
Parameters
- type: K
- callback: (e: TJSFileSlotButton.Events[K]) => void
Returns () => void
Provides a pre-configured slotted button interfacing w/ the Foundry file picker. You may assign a child component that obtains the
urlStringstore.Please see FVTTFilePickerBrowseOptions for the
pickerOptionsprop. Please see TJSSlotButton 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.