Mixins / foldkit-mixins-ui

FileUploadSort

namespace · packages/mixins-ui/src/fileUpload/sort.ts:1

export * as FileUploadSort from './fileUpload/sort.js'

In the guides

Members

FileUploadSort.keepFocus

const · packages/mixins-ui/src/fileUpload/sort.ts:12

const keepFocus: Mixin<never>[]

Focus for what no widget Message causes: a keyed move (the browser drops the focus of a button whose element moved, so a grip keeps it with same) and FileUpload.without. Beside the widget's own focus Commands, which pick the same targets: the next remove button, else the previous. In a module of its own so a field with no sorting does not load FocusRecovery; pass it in mixins.