Skip to main content

Image

image.js

Options

No component-specific options documented yet.

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.
borderObjBorder as {width, color, type?, radius?}. Width carries its unit, e.g. "1px".
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.
hideHide the element without removing it from the tree.
hoverStyles applied on hover, e.g. {color, background, animation: "0.2s ease"}.
insetSets CSS inset.
keySetEscape hatch — {key, value} written straight to element.style, or an array of them.
leftSets CSS left.
letterSpacingSets CSS letterSpacing.
lineHeightSets CSS lineHeight.
marMargin. The same array-of-side-objects form as pad: mar: [{a: 40}], keys a t r b l, combinable. Additionally mar: "center" sets left and right to auto, as does {a: "auto"} or {center: true}.
maxHeightSets CSS maxHeight.
maxWidthSets CSS maxWidth.
minHeightSets CSS minHeight.
minWidthSets CSS minWidth.
noThemeOpt this element out of Theme.setDefaults light/dark colouring.
opacitySets CSS opacity.
overflowSets CSS overflow.
overflowWrapSets CSS overflowWrap.
overflowXSets CSS overflowX.
overflowYSets CSS overflowY.
padPadding. An array of side objects: pad: [{a: 40}]. Keys are a all, t top, r right, b bottom, l left. Keys combine, so {tb: 12} sets top and bottom. A bare number is treated as px; any string is passed through, so {a: "2rem"} works.
pointerEventsSets CSS pointerEvents.
positionSets CSS position.
radiusSets CSS borderRadius.
rasterAttach a WebGL raster pipeline. Array of op nodes; see the Raster section.
resmarResponsive margin — per-breakpoint overrides of mar, in the same form.
respadResponsive padding — per-breakpoint overrides of pad, in the same form.
respropPer-breakpoint style overrides — [{breakpoint, ...css}]. exact is font size.
rightSets CSS right.
rowGapSets CSS rowGap.
rowsSets CSS gridTemplateRows.
sizeFluid type scale step (S1…S6) — font size that scales with the viewport.
textAlignSets CSS textAlign.
textTransformSets CSS textTransform.
themeExplicit light/dark overrides — {light: {...}, dark: {...}}.
topSets CSS top.
transformA CSS transform string applied verbatim, or an object handled by reactOnTransform(). Composed with scale when both are given.
transitionSets CSS transition.
userSelectSets CSS userSelect.
varsCustom CSS properties on this element — {"--nod-split": 0.2}. Custom properties inherit, so writing them on a root drives its whole subtree with one declaration; that is how the morph axes reach every generated element without a stylesheet.
whiteSpaceSets CSS whiteSpace.
widthSets CSS width.
wordBreakSets CSS wordBreak.
wordWrapSets CSS wordWrap.
zIndexSets CSS zIndex.

Generated from nodality 1.1.13.