Mixins / foldkit-mixins-ui

TagsInputView

interface · packages/mixins-ui/src/tagsInput.ts:132

interface TagsInputView<Message> {
  readonly model: Model
  readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>
  readonly label: string
  readonly placeholder?: string | undefined
  readonly disabled?: boolean | undefined
  readonly style?: NamedStyle<typeof TagsInputSlots> | undefined
  readonly mixins?: MixinList<Message> | undefined
}

Members

TagsInputView.model

property · packages/mixins-ui/src/tagsInput.ts:133

readonly model: Model

TagsInputView.onMessage

property · packages/mixins-ui/src/tagsInput.ts:135

readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>

Lifts the field's own Messages into the application's.

TagsInputView.label

property · packages/mixins-ui/src/tagsInput.ts:137

readonly label: string

The input's visible label, which also names the list of tags.

TagsInputView.placeholder

property · packages/mixins-ui/src/tagsInput.ts:138

readonly placeholder?: string | undefined

TagsInputView.disabled

property · packages/mixins-ui/src/tagsInput.ts:139

readonly disabled?: boolean | undefined

TagsInputView.style

property · packages/mixins-ui/src/tagsInput.ts:141

readonly style?: NamedStyle<typeof TagsInputSlots> | undefined

A style of TagsInputSlots, for the field's look.

TagsInputView.mixins

property · packages/mixins-ui/src/tagsInput.ts:143

readonly mixins?: MixinList<Message> | undefined

Mixins beside the style.