Skip to main content

TextField

text-field.js

Options​

optiondescription
boldShorthand for font-weight bold. Overrides weight if both are given.
idundocumented
labelundocumented
nameundocumented
placeholderPlaceholder text shown while the field is empty.
requiredundocumented
titleundocumented
typeInput type attribute. Defaults to "text"; "search" adds the native clear button.
weightundocumented

Inherited from Animator​

Accepted by every component. Defined once in animator.js.

optiondescription
WebkitBackdropFilterSets CSS WebkitBackdropFilter.
WebkitOverflowScrollingSets CSS WebkitOverflowScrolling.
WebkitTapHighlightColorSets CSS WebkitTapHighlightColor.
WebkitUserSelectSets CSS WebkitUserSelect.
alignSelfSets CSS alignSelf.
areaSets CSS gridArea.
areasSets CSS gridTemplateAreas.
backdropFilterSets CSS backdropFilter.
backgroundSets CSS background.
bottomSets CSS bottom.
boxShadowSets CSS boxShadow.
boxSizingSets CSS boxSizing.
centerCentres 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".
colorSets CSS color.
colsSets CSS gridTemplateColumns.
columnGapSets CSS columnGap.
cursorSets CSS cursor.
displaySets CSS display.
exactSets CSS fontSize.
flexSets CSS flex.
flexBasisSets CSS flexBasis.
flexGrowSets CSS flexGrow.
flexShrinkSets CSS flexShrink.
flexWrapSets CSS flexWrap.
fontSets CSS fontFamily.
gapSets CSS gap.
gridTemplateColumnsSets CSS gridTemplateColumns.
gridTemplateRowsSets CSS gridTemplateRows.
heightSets CSS height.
insetSets CSS inset.
leftSets CSS left.
letterSpacingSets CSS letterSpacing.
lineHeightSets CSS lineHeight.
maxHeightSets CSS maxHeight.
maxWidthSets CSS maxWidth.
minHeightSets CSS minHeight.
minWidthSets CSS minWidth.
opacitySets CSS opacity.
overflowSets CSS overflow.
overflowWrapSets CSS overflowWrap.
overflowXSets CSS overflowX.
overflowYSets CSS overflowY.
pointerEventsSets CSS pointerEvents.
positionSets CSS position.
radiusSets CSS borderRadius.
rightSets CSS right.
rowGapSets CSS rowGap.
rowsSets CSS gridTemplateRows.
textAlignSets CSS textAlign.
textTransformSets CSS textTransform.
topSets CSS top.
transitionSets CSS transition.
userSelectSets CSS userSelect.
whiteSpaceSets CSS whiteSpace.
widthSets CSS width.
wordBreakSets CSS wordBreak.
wordWrapSets CSS wordWrap.
zIndexSets CSS zIndex.

Generated from nodality 1.3.13.