InsetOptions
Defined in: components/field.ts:40
Options for a field that can carry content inside its control box — an icon against the leading edge, a button against the trailing one. Added by import(”./textline”).textline and import(”./textarea”).textarea.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”prefix?
Section titled “prefix?”
optionalprefix?:Slot
Defined in: components/field.ts:46
Content drawn inside the control, against its leading edge — typically a unit, a currency sign or a search glyph. The control’s text is indented to keep clear of it, however wide it turns out to be.
suffix?
Section titled “suffix?”
optionalsuffix?:Slot
Defined in: components/field.ts:53
Content drawn inside the control, against its trailing edge: a send button on a chat box, a clear or reveal button, a character count. Sits against the bottom on a (growing) textarea, and vertically centred on a single-line input.