Renders the current state of the file tree to the developer console.
import { defineFilePond } from 'filepond';
import { locale } from 'filepond/locales/en-gb.js';
import { ConsoleView } from 'filepond/extensions/console-view.js';
defineFilePond({
locale,
extensions: [
// Add the ConsoleView extension
ConsoleView
]
})
Configuration
The ConsoleView extension accepts an option object of type ConsoleViewOptions which defines the properties below.
clearBeforeLog
Clear console before logging, defaults to false
clearBeforeLog?: boolean
debounce
Debounce the log call from the ‘updateEntries’ event, defaults to true
debounce?: boolean