TagsInputView.model
property · packages/mixins-ui/src/tagsInput.ts:301
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/tagsInput.ts:300
interface TagsInputView<Message> {
readonly model: Model
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>
readonly label: string
readonly placeholder?: string | undefined
readonly name?: string | undefined
readonly disabled?: boolean | undefined
readonly addOnBlur?: boolean | undefined
readonly direction?: 'ltr' | 'rtl' | undefined
readonly routes?: ReadonlyArray<Route<NoInfer<Message>>> | undefined
readonly words?: Partial<TagsInputWords> | undefined
readonly style?: NamedStyle<typeof TagsInputSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}TagsInputView.modelproperty · packages/mixins-ui/src/tagsInput.ts:301
readonly model: ModelTagsInputView.onMessageproperty · packages/mixins-ui/src/tagsInput.ts:303
readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>Lifts the field's own Messages into the application's.
TagsInputView.labelproperty · packages/mixins-ui/src/tagsInput.ts:305
readonly label: stringThe input's visible label, which also names the list of tags.
TagsInputView.placeholderproperty · packages/mixins-ui/src/tagsInput.ts:306
readonly placeholder?: string | undefinedTagsInputView.nameproperty · packages/mixins-ui/src/tagsInput.ts:308
readonly name?: string | undefinedSubmits each tag under this name, one hidden input apiece, in order; the draft is not submitted.
TagsInputView.disabledproperty · packages/mixins-ui/src/tagsInput.ts:309
readonly disabled?: boolean | undefinedTagsInputView.addOnBlurproperty · packages/mixins-ui/src/tagsInput.ts:315
readonly addOnBlur?: boolean | undefinedAdds the draft when the input loses focus, as Enter does, so text left in
it is not thrown away. A refused draft stays, and says why. Default
false: moving to a chip with the arrow keys is a blur too.
TagsInputView.directionproperty · packages/mixins-ui/src/tagsInput.ts:317
readonly direction?: 'ltr' | 'rtl' | undefinedDefault ltr; rtl swaps the arrows that move among the chips and out of the input.
TagsInputView.routesproperty · packages/mixins-ui/src/tagsInput.ts:322
readonly routes?: ReadonlyArray<Route<NoInfer<Message>>> | undefinedKeys the application answers in the input, beside Enter, the delimiter and Backspace in an empty field: a route on one of those is a diagnostic naming both.
TagsInputView.wordsproperty · packages/mixins-ui/src/tagsInput.ts:324
readonly words?: Partial<TagsInputWords> | undefinedThe remove button's and the refusals' words.
TagsInputView.styleproperty · packages/mixins-ui/src/tagsInput.ts:326
readonly style?: NamedStyle<typeof TagsInputSlots> | undefinedA style of TagsInputSlots, for the field's look.
TagsInputView.mixinsproperty · packages/mixins-ui/src/tagsInput.ts:328
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.