Provides a pre-configured icon button interfacing w/ the Foundry file picker.

Please see FVTTFilePickerBrowseOptions for the pickerOptions prop. Please see TJSIconButton for the button component / CSS variable support.

This component provides one way binding by default. You may explicitly bind to the urlString prop to create a two-way binding.

Hierarchy

Indexable

  • [prop: string]: any
Index
  • Type Parameters

    • K extends string

    Parameters

    • type: K
    • callback: (
          e: (
              { "filepicker:urlString": CustomEvent<any> } & {
                  [evt: string]: CustomEvent<any>;
              }
          )[K],
      ) => void

    Returns () => void