InputField.id
property · packages/mixins-ui/src/input.ts:221
readonly id: stringMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/input.ts:220
interface InputField<Message> {
readonly id: string
readonly label: string
readonly field: FieldValidation.Field<unknown>
readonly changed: (value: string) => Message
readonly type?: string | undefined
readonly placeholder?: string | undefined
readonly style?: NamedStyle<typeof InputSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
readonly draw?:
((parts: FieldParts, h: HtmlBuilder<Message>) => Html) | undefined
}A text field in one call: a field's state drawn through view with its
label, control, and description placed. The value is drawn with
String(), as the base field view draws any draft. draw places
the parts; the default stacks them. type and placeholder ride through
only where given. Custom drawers stay for controls with no shipped
renderer.
InputField.idproperty · packages/mixins-ui/src/input.ts:221
readonly id: stringInputField.labelproperty · packages/mixins-ui/src/input.ts:222
readonly label: stringInputField.fieldproperty · packages/mixins-ui/src/input.ts:223
readonly field: FieldValidation.Field<unknown>InputField.changedproperty · packages/mixins-ui/src/input.ts:224
readonly changed: (value: string) => MessageInputField.typeproperty · packages/mixins-ui/src/input.ts:225
readonly type?: string | undefinedInputField.placeholderproperty · packages/mixins-ui/src/input.ts:226
readonly placeholder?: string | undefinedInputField.styleproperty · packages/mixins-ui/src/input.ts:228
readonly style?: NamedStyle<typeof InputSlots> | undefinedA style of InputSlots, for the field's own look.
InputField.mixinsproperty · packages/mixins-ui/src/input.ts:230
readonly mixins?: MixinList<Message> | undefinedMixins beside the style, for state or behavior the style does not own.
InputField.drawproperty · packages/mixins-ui/src/input.ts:231
readonly draw?:
((parts: FieldParts, h: HtmlBuilder<Message>) => Html) | undefined