Files
Manage files for use with components of flows.
Was this helpful?
Manage files for use with components of flows.
Was this helpful?
Was this helpful?
const files = appmixer.ui.Files(config)
files.set(key, value)
files.get(key)files.state(name, value)// Set a custom query.
files.state('query', {
pattern: 'my custom pattern',
sort: { uploadDate: -1 }
});
// Listen for query changes triggered by user interaction.
files.on('change:query', query => {
console.log('Current query:', query);
});files.on(event, handler)files.on('flow:open', flowId => {/* ... */})const files = appmixer.ui.Files({
el: '#files'
})
files.open()