TextField
text-field.js
Options
| option | description |
|---|---|
background | undocumented |
bold | Shorthand for font-weight bold. Overrides weight if both are given. |
color | undocumented |
exact | Font size as an exact CSS length, e.g. "0.875rem". |
font | undocumented |
id | undocumented |
label | undocumented |
maxWidth | undocumented |
name | undocumented |
placeholder | Placeholder text shown while the field is empty. |
radius | Corner radius in pixels. A bare number, not a CSS length. |
required | undocumented |
title | undocumented |
type | Input type attribute. Defaults to "text"; "search" adds the native clear button. |
weight | undocumented |
Inherited from Animator
Accepted by every component. Defined once in animator.js.
| option | description |
|---|---|
center | Centres this element's CHILDREN. true for both axes, "x" horizontal, "y" vertical. Axis-aware: in a flex column "y" is justify-content, in a row it is align-items; a grid uses justify-items/align-items. To centre the element itself inside its parent, use mar: "center". |
Generated from nodality 1.4.0.