Extends FilePondInputElement
Properties
springDefaults
Automatically passes value to child elements, for usage see FilePondSvelteComponentElement
springDefaults: SpringOptions
animations
Automatically passes value to child elements, for usage see FilePondSvelteComponentElement
animations: AnimationMode
extensions
Wraps createFilePondExtensionSet so we always set the default extension set
extensions: ExtensionFactory[]
noDrop
Set to true to remove drop area
noDrop: boolean
noAttribution
A programmatic way to toggle the attribution link on/off.
When set to true this property automatically adds the noattribution attribute to the <file-pond> element.
const element = document.querySelector('file-pond');
element.noAttribution = true;
noAttribution: boolean
Events
computerect
Fired when the element rect has been computed
element.addEventListener("computerect", (e) => {
// Event handler
});
updaterect
Fired when the element visual rect has been updated
element.addEventListener("updaterect", (e) => {
// Event handler
});