artboard-deluxe / InlineStyleOverrider
InlineStyleOverrider
InlineStyleOverrider:
object
Type declaration
restore()
Restores the original style values.
Returns
void
set()
Sets the given style property value on the element.
Parameters
property
The style property to set.
number
| "filter"
| "fill"
| "stroke"
| "animationName"
| "flex"
| "all"
| "offset"
| "height"
| "width"
| "left"
| "top"
| "cssText"
| "accentColor"
| "alignContent"
| "alignItems"
| "alignSelf"
| "alignmentBaseline"
| "animation"
| "animationComposition"
| "animationDelay"
| "animationDirection"
| "animationDuration"
| "animationFillMode"
| "animationIterationCount"
| "animationPlayState"
| "animationTimingFunction"
| "appearance"
| "aspectRatio"
| "backdropFilter"
| "backfaceVisibility"
| "background"
| "backgroundAttachment"
| "backgroundBlendMode"
| "backgroundClip"
| "backgroundColor"
| "backgroundImage"
| "backgroundOrigin"
| "backgroundPosition"
| "backgroundPositionX"
| "backgroundPositionY"
| "backgroundRepeat"
| "backgroundSize"
| "baselineShift"
| "baselineSource"
| "blockSize"
| "border"
| "borderBlock"
| "borderBlockColor"
| "borderBlockEnd"
| "borderBlockEndColor"
| "borderBlockEndStyle"
| "borderBlockEndWidth"
| "borderBlockStart"
| "borderBlockStartColor"
| "borderBlockStartStyle"
| "borderBlockStartWidth"
| "borderBlockStyle"
| "borderBlockWidth"
| "borderBottom"
| "borderBottomColor"
| "borderBottomLeftRadius"
| "borderBottomRightRadius"
| "borderBottomStyle"
| "borderBottomWidth"
| "borderCollapse"
| "borderColor"
| "borderEndEndRadius"
| "borderEndStartRadius"
| "borderImage"
| "borderImageOutset"
| "borderImageRepeat"
| "borderImageSlice"
| "borderImageSource"
| "borderImageWidth"
| "borderInline"
| "borderInlineColor"
| "borderInlineEnd"
| "borderInlineEndColor"
| "borderInlineEndStyle"
| "borderInlineEndWidth"
| "borderInlineStart"
| "borderInlineStartColor"
| "borderInlineStartStyle"
| "borderInlineStartWidth"
| "borderInlineStyle"
| "borderInlineWidth"
| "borderLeft"
| "borderLeftColor"
| "borderLeftStyle"
| "borderLeftWidth"
| "borderRadius"
| "borderRight"
| "borderRightColor"
| "borderRightStyle"
| "borderRightWidth"
| "borderSpacing"
| "borderStartEndRadius"
| "borderStartStartRadius"
| "borderStyle"
| "borderTop"
| "borderTopColor"
| "borderTopLeftRadius"
| "borderTopRightRadius"
| "borderTopStyle"
| "borderTopWidth"
| "borderWidth"
| "bottom"
| "boxShadow"
| "boxSizing"
| "breakAfter"
| "breakBefore"
| "breakInside"
| "captionSide"
| "caretColor"
| "clear"
| "clip"
| "clipPath"
| "clipRule"
| "color"
| "colorInterpolation"
| "colorInterpolationFilters"
| "colorScheme"
| "columnCount"
| "columnFill"
| "columnGap"
| "columnRule"
| "columnRuleColor"
| "columnRuleStyle"
| "columnRuleWidth"
| "columnSpan"
| "columnWidth"
| "columns"
| "contain"
| "containIntrinsicBlockSize"
| "containIntrinsicHeight"
| "containIntrinsicInlineSize"
| "containIntrinsicSize"
| "containIntrinsicWidth"
| "container"
| "containerName"
| "containerType"
| "content"
| "contentVisibility"
| "counterIncrement"
| "counterReset"
| "counterSet"
| "cssFloat"
| "cursor"
| "cx"
| "cy"
| "d"
| "direction"
| "display"
| "dominantBaseline"
| "emptyCells"
| "fillOpacity"
| "fillRule"
| "flexBasis"
| "flexDirection"
| "flexFlow"
| "flexGrow"
| "flexShrink"
| "flexWrap"
| "float"
| "floodColor"
| "floodOpacity"
| "font"
| "fontFamily"
| "fontFeatureSettings"
| "fontKerning"
| "fontOpticalSizing"
| "fontPalette"
| "fontSize"
| "fontSizeAdjust"
| "fontStretch"
| "fontStyle"
| "fontSynthesis"
| "fontSynthesisSmallCaps"
| "fontSynthesisStyle"
| "fontSynthesisWeight"
| "fontVariant"
| "fontVariantAlternates"
| "fontVariantCaps"
| "fontVariantEastAsian"
| "fontVariantLigatures"
| "fontVariantNumeric"
| "fontVariantPosition"
| "fontVariationSettings"
| "fontWeight"
| "forcedColorAdjust"
| "gap"
| "grid"
| "gridArea"
| "gridAutoColumns"
| "gridAutoFlow"
| "gridAutoRows"
| "gridColumn"
| "gridColumnEnd"
| "gridColumnGap"
| "gridColumnStart"
| "gridGap"
| "gridRow"
| "gridRowEnd"
| "gridRowGap"
| "gridRowStart"
| "gridTemplate"
| "gridTemplateAreas"
| "gridTemplateColumns"
| "gridTemplateRows"
| "hyphenateCharacter"
| "hyphens"
| "imageOrientation"
| "imageRendering"
| "inlineSize"
| "inset"
| "insetBlock"
| "insetBlockEnd"
| "insetBlockStart"
| "insetInline"
| "insetInlineEnd"
| "insetInlineStart"
| "isolation"
| "justifyContent"
| "justifyItems"
| "justifySelf"
| "letterSpacing"
| "lightingColor"
| "lineBreak"
| "lineHeight"
| "listStyle"
| "listStyleImage"
| "listStylePosition"
| "listStyleType"
| "margin"
| "marginBlock"
| "marginBlockEnd"
| "marginBlockStart"
| "marginBottom"
| "marginInline"
| "marginInlineEnd"
| "marginInlineStart"
| "marginLeft"
| "marginRight"
| "marginTop"
| "marker"
| "markerEnd"
| "markerMid"
| "markerStart"
| "mask"
| "maskClip"
| "maskComposite"
| "maskImage"
| "maskMode"
| "maskOrigin"
| "maskPosition"
| "maskRepeat"
| "maskSize"
| "maskType"
| "mathDepth"
| "mathStyle"
| "maxBlockSize"
| "maxHeight"
| "maxInlineSize"
| "maxWidth"
| "minBlockSize"
| "minHeight"
| "minInlineSize"
| "minWidth"
| "mixBlendMode"
| "objectFit"
| "objectPosition"
| "offsetAnchor"
| "offsetDistance"
| "offsetPath"
| "offsetPosition"
| "offsetRotate"
| "opacity"
| "order"
| "orphans"
| "outline"
| "outlineColor"
| "outlineOffset"
| "outlineStyle"
| "outlineWidth"
| "overflow"
| "overflowAnchor"
| "overflowClipMargin"
| "overflowWrap"
| "overflowX"
| "overflowY"
| "overscrollBehavior"
| "overscrollBehaviorBlock"
| "overscrollBehaviorInline"
| "overscrollBehaviorX"
| "overscrollBehaviorY"
| "padding"
| "paddingBlock"
| "paddingBlockEnd"
| "paddingBlockStart"
| "paddingBottom"
| "paddingInline"
| "paddingInlineEnd"
| "paddingInlineStart"
| "paddingLeft"
| "paddingRight"
| "paddingTop"
| "page"
| "pageBreakAfter"
| "pageBreakBefore"
| "pageBreakInside"
| "paintOrder"
| "perspective"
| "perspectiveOrigin"
| "placeContent"
| "placeItems"
| "placeSelf"
| "pointerEvents"
| "position"
| "printColorAdjust"
| "quotes"
| "r"
| "resize"
| "right"
| "rotate"
| "rowGap"
| "rubyPosition"
| "rx"
| "ry"
| "scale"
| "scrollBehavior"
| "scrollMargin"
| "scrollMarginBlock"
| "scrollMarginBlockEnd"
| "scrollMarginBlockStart"
| "scrollMarginBottom"
| "scrollMarginInline"
| "scrollMarginInlineEnd"
| "scrollMarginInlineStart"
| "scrollMarginLeft"
| "scrollMarginRight"
| "scrollMarginTop"
| "scrollPadding"
| "scrollPaddingBlock"
| "scrollPaddingBlockEnd"
| "scrollPaddingBlockStart"
| "scrollPaddingBottom"
| "scrollPaddingInline"
| "scrollPaddingInlineEnd"
| "scrollPaddingInlineStart"
| "scrollPaddingLeft"
| "scrollPaddingRight"
| "scrollPaddingTop"
| "scrollSnapAlign"
| "scrollSnapStop"
| "scrollSnapType"
| "scrollbarColor"
| "scrollbarGutter"
| "scrollbarWidth"
| "shapeImageThreshold"
| "shapeMargin"
| "shapeOutside"
| "shapeRendering"
| "stopColor"
| "stopOpacity"
| "strokeDasharray"
| "strokeDashoffset"
| "strokeLinecap"
| "strokeLinejoin"
| "strokeMiterlimit"
| "strokeOpacity"
| "strokeWidth"
| "tabSize"
| "tableLayout"
| "textAlign"
| "textAlignLast"
| "textAnchor"
| "textCombineUpright"
| "textDecoration"
| "textDecorationColor"
| "textDecorationLine"
| "textDecorationSkipInk"
| "textDecorationStyle"
| "textDecorationThickness"
| "textEmphasis"
| "textEmphasisColor"
| "textEmphasisPosition"
| "textEmphasisStyle"
| "textIndent"
| "textOrientation"
| "textOverflow"
| "textRendering"
| "textShadow"
| "textTransform"
| "textUnderlineOffset"
| "textUnderlinePosition"
| "textWrap"
| "textWrapMode"
| "textWrapStyle"
| "touchAction"
| "transform"
| "transformBox"
| "transformOrigin"
| "transformStyle"
| "transition"
| "transitionBehavior"
| "transitionDelay"
| "transitionDuration"
| "transitionProperty"
| "transitionTimingFunction"
| "translate"
| "unicodeBidi"
| "userSelect"
| "vectorEffect"
| "verticalAlign"
| "viewTransitionName"
| "visibility"
| "webkitAlignContent"
| "webkitAlignItems"
| "webkitAlignSelf"
| "webkitAnimation"
| "webkitAnimationDelay"
| "webkitAnimationDirection"
| "webkitAnimationDuration"
| "webkitAnimationFillMode"
| "webkitAnimationIterationCount"
| "webkitAnimationName"
| "webkitAnimationPlayState"
| "webkitAnimationTimingFunction"
| "webkitAppearance"
| "webkitBackfaceVisibility"
| "webkitBackgroundClip"
| "webkitBackgroundOrigin"
| "webkitBackgroundSize"
| "webkitBorderBottomLeftRadius"
| "webkitBorderBottomRightRadius"
| "webkitBorderRadius"
| "webkitBorderTopLeftRadius"
| "webkitBorderTopRightRadius"
| "webkitBoxAlign"
| "webkitBoxFlex"
| "webkitBoxOrdinalGroup"
| "webkitBoxOrient"
| "webkitBoxPack"
| "webkitBoxShadow"
| "webkitBoxSizing"
| "webkitFilter"
| "webkitFlex"
| "webkitFlexBasis"
| "webkitFlexDirection"
| "webkitFlexFlow"
| "webkitFlexGrow"
| "webkitFlexShrink"
| "webkitFlexWrap"
| "webkitJustifyContent"
| "webkitLineClamp"
| "webkitMask"
| "webkitMaskBoxImage"
| "webkitMaskBoxImageOutset"
| "webkitMaskBoxImageRepeat"
| "webkitMaskBoxImageSlice"
| "webkitMaskBoxImageSource"
| "webkitMaskBoxImageWidth"
| "webkitMaskClip"
| "webkitMaskComposite"
| "webkitMaskImage"
| "webkitMaskOrigin"
| "webkitMaskPosition"
| "webkitMaskRepeat"
| "webkitMaskSize"
| "webkitOrder"
| "webkitPerspective"
| "webkitPerspectiveOrigin"
| "webkitTextFillColor"
| "webkitTextSizeAdjust"
| "webkitTextStroke"
| "webkitTextStrokeColor"
| "webkitTextStrokeWidth"
| "webkitTransform"
| "webkitTransformOrigin"
| "webkitTransformStyle"
| "webkitTransition"
| "webkitTransitionDelay"
| "webkitTransitionDuration"
| "webkitTransitionProperty"
| "webkitTransitionTimingFunction"
| "webkitUserSelect"
| "whiteSpace"
| "whiteSpaceCollapse"
| "widows"
| "willChange"
| "wordBreak"
| "wordSpacing"
| "wordWrap"
| "writingMode"
| "x"
| "y"
| "zIndex"
| "zoom"
value
The value to set. If a number, the value is applied as pixels.
string
| number
Returns
void
setMultiple()
Applies the provided overrides on the element.
Parameters
styles
Partial
<Record
<number
| "filter"
| "fill"
| "stroke"
| "animationName"
| "flex"
| "all"
| "offset"
| "height"
| "width"
| "left"
| "top"
| "cssText"
| "accentColor"
| "alignContent"
| "alignItems"
| "alignSelf"
| "alignmentBaseline"
| "animation"
| "animationComposition"
| "animationDelay"
| "animationDirection"
| "animationDuration"
| "animationFillMode"
| "animationIterationCount"
| "animationPlayState"
| "animationTimingFunction"
| "appearance"
| "aspectRatio"
| "backdropFilter"
| "backfaceVisibility"
| "background"
| "backgroundAttachment"
| "backgroundBlendMode"
| "backgroundClip"
| "backgroundColor"
| "backgroundImage"
| "backgroundOrigin"
| "backgroundPosition"
| "backgroundPositionX"
| "backgroundPositionY"
| "backgroundRepeat"
| "backgroundSize"
| "baselineShift"
| "baselineSource"
| "blockSize"
| "border"
| "borderBlock"
| "borderBlockColor"
| "borderBlockEnd"
| "borderBlockEndColor"
| "borderBlockEndStyle"
| "borderBlockEndWidth"
| "borderBlockStart"
| "borderBlockStartColor"
| "borderBlockStartStyle"
| "borderBlockStartWidth"
| "borderBlockStyle"
| "borderBlockWidth"
| "borderBottom"
| "borderBottomColor"
| "borderBottomLeftRadius"
| "borderBottomRightRadius"
| "borderBottomStyle"
| "borderBottomWidth"
| "borderCollapse"
| "borderColor"
| "borderEndEndRadius"
| "borderEndStartRadius"
| "borderImage"
| "borderImageOutset"
| "borderImageRepeat"
| "borderImageSlice"
| "borderImageSource"
| "borderImageWidth"
| "borderInline"
| "borderInlineColor"
| "borderInlineEnd"
| "borderInlineEndColor"
| "borderInlineEndStyle"
| "borderInlineEndWidth"
| "borderInlineStart"
| "borderInlineStartColor"
| "borderInlineStartStyle"
| "borderInlineStartWidth"
| "borderInlineStyle"
| "borderInlineWidth"
| "borderLeft"
| "borderLeftColor"
| "borderLeftStyle"
| "borderLeftWidth"
| "borderRadius"
| "borderRight"
| "borderRightColor"
| "borderRightStyle"
| "borderRightWidth"
| "borderSpacing"
| "borderStartEndRadius"
| "borderStartStartRadius"
| "borderStyle"
| "borderTop"
| "borderTopColor"
| "borderTopLeftRadius"
| "borderTopRightRadius"
| "borderTopStyle"
| "borderTopWidth"
| "borderWidth"
| "bottom"
| "boxShadow"
| "boxSizing"
| "breakAfter"
| "breakBefore"
| "breakInside"
| "captionSide"
| "caretColor"
| "clear"
| "clip"
| "clipPath"
| "clipRule"
| "color"
| "colorInterpolation"
| "colorInterpolationFilters"
| "colorScheme"
| "columnCount"
| "columnFill"
| "columnGap"
| "columnRule"
| "columnRuleColor"
| "columnRuleStyle"
| "columnRuleWidth"
| "columnSpan"
| "columnWidth"
| "columns"
| "contain"
| "containIntrinsicBlockSize"
| "containIntrinsicHeight"
| "containIntrinsicInlineSize"
| "containIntrinsicSize"
| "containIntrinsicWidth"
| "container"
| "containerName"
| "containerType"
| "content"
| "contentVisibility"
| "counterIncrement"
| "counterReset"
| "counterSet"
| "cssFloat"
| "cursor"
| "cx"
| "cy"
| "d"
| "direction"
| "display"
| "dominantBaseline"
| "emptyCells"
| "fillOpacity"
| "fillRule"
| "flexBasis"
| "flexDirection"
| "flexFlow"
| "flexGrow"
| "flexShrink"
| "flexWrap"
| "float"
| "floodColor"
| "floodOpacity"
| "font"
| "fontFamily"
| "fontFeatureSettings"
| "fontKerning"
| "fontOpticalSizing"
| "fontPalette"
| "fontSize"
| "fontSizeAdjust"
| "fontStretch"
| "fontStyle"
| "fontSynthesis"
| "fontSynthesisSmallCaps"
| "fontSynthesisStyle"
| "fontSynthesisWeight"
| "fontVariant"
| "fontVariantAlternates"
| "fontVariantCaps"
| "fontVariantEastAsian"
| "fontVariantLigatures"
| "fontVariantNumeric"
| "fontVariantPosition"
| "fontVariationSettings"
| "fontWeight"
| "forcedColorAdjust"
| "gap"
| "grid"
| "gridArea"
| "gridAutoColumns"
| "gridAutoFlow"
| "gridAutoRows"
| "gridColumn"
| "gridColumnEnd"
| "gridColumnGap"
| "gridColumnStart"
| "gridGap"
| "gridRow"
| "gridRowEnd"
| "gridRowGap"
| "gridRowStart"
| "gridTemplate"
| "gridTemplateAreas"
| "gridTemplateColumns"
| "gridTemplateRows"
| "hyphenateCharacter"
| "hyphens"
| "imageOrientation"
| "imageRendering"
| "inlineSize"
| "inset"
| "insetBlock"
| "insetBlockEnd"
| "insetBlockStart"
| "insetInline"
| "insetInlineEnd"
| "insetInlineStart"
| "isolation"
| "justifyContent"
| "justifyItems"
| "justifySelf"
| "letterSpacing"
| "lightingColor"
| "lineBreak"
| "lineHeight"
| "listStyle"
| "listStyleImage"
| "listStylePosition"
| "listStyleType"
| "margin"
| "marginBlock"
| "marginBlockEnd"
| "marginBlockStart"
| "marginBottom"
| "marginInline"
| "marginInlineEnd"
| "marginInlineStart"
| "marginLeft"
| "marginRight"
| "marginTop"
| "marker"
| "markerEnd"
| "markerMid"
| "markerStart"
| "mask"
| "maskClip"
| "maskComposite"
| "maskImage"
| "maskMode"
| "maskOrigin"
| "maskPosition"
| "maskRepeat"
| "maskSize"
| "maskType"
| "mathDepth"
| "mathStyle"
| "maxBlockSize"
| "maxHeight"
| "maxInlineSize"
| "maxWidth"
| "minBlockSize"
| "minHeight"
| "minInlineSize"
| "minWidth"
| "mixBlendMode"
| "objectFit"
| "objectPosition"
| "offsetAnchor"
| "offsetDistance"
| "offsetPath"
| "offsetPosition"
| "offsetRotate"
| "opacity"
| "order"
| "orphans"
| "outline"
| "outlineColor"
| "outlineOffset"
| "outlineStyle"
| "outlineWidth"
| "overflow"
| "overflowAnchor"
| "overflowClipMargin"
| "overflowWrap"
| "overflowX"
| "overflowY"
| "overscrollBehavior"
| "overscrollBehaviorBlock"
| "overscrollBehaviorInline"
| "overscrollBehaviorX"
| "overscrollBehaviorY"
| "padding"
| "paddingBlock"
| "paddingBlockEnd"
| "paddingBlockStart"
| "paddingBottom"
| "paddingInline"
| "paddingInlineEnd"
| "paddingInlineStart"
| "paddingLeft"
| "paddingRight"
| "paddingTop"
| "page"
| "pageBreakAfter"
| "pageBreakBefore"
| "pageBreakInside"
| "paintOrder"
| "perspective"
| "perspectiveOrigin"
| "placeContent"
| "placeItems"
| "placeSelf"
| "pointerEvents"
| "position"
| "printColorAdjust"
| "quotes"
| "r"
| "resize"
| "right"
| "rotate"
| "rowGap"
| "rubyPosition"
| "rx"
| "ry"
| "scale"
| "scrollBehavior"
| "scrollMargin"
| "scrollMarginBlock"
| "scrollMarginBlockEnd"
| "scrollMarginBlockStart"
| "scrollMarginBottom"
| "scrollMarginInline"
| "scrollMarginInlineEnd"
| "scrollMarginInlineStart"
| "scrollMarginLeft"
| "scrollMarginRight"
| "scrollMarginTop"
| "scrollPadding"
| "scrollPaddingBlock"
| "scrollPaddingBlockEnd"
| "scrollPaddingBlockStart"
| "scrollPaddingBottom"
| "scrollPaddingInline"
| "scrollPaddingInlineEnd"
| "scrollPaddingInlineStart"
| "scrollPaddingLeft"
| "scrollPaddingRight"
| "scrollPaddingTop"
| "scrollSnapAlign"
| "scrollSnapStop"
| "scrollSnapType"
| "scrollbarColor"
| "scrollbarGutter"
| "scrollbarWidth"
| "shapeImageThreshold"
| "shapeMargin"
| "shapeOutside"
| "shapeRendering"
| "stopColor"
| "stopOpacity"
| "strokeDasharray"
| "strokeDashoffset"
| "strokeLinecap"
| "strokeLinejoin"
| "strokeMiterlimit"
| "strokeOpacity"
| "strokeWidth"
| "tabSize"
| "tableLayout"
| "textAlign"
| "textAlignLast"
| "textAnchor"
| "textCombineUpright"
| "textDecoration"
| "textDecorationColor"
| "textDecorationLine"
| "textDecorationSkipInk"
| "textDecorationStyle"
| "textDecorationThickness"
| "textEmphasis"
| "textEmphasisColor"
| "textEmphasisPosition"
| "textEmphasisStyle"
| "textIndent"
| "textOrientation"
| "textOverflow"
| "textRendering"
| "textShadow"
| "textTransform"
| "textUnderlineOffset"
| "textUnderlinePosition"
| "textWrap"
| "textWrapMode"
| "textWrapStyle"
| "touchAction"
| "transform"
| "transformBox"
| "transformOrigin"
| "transformStyle"
| "transition"
| "transitionBehavior"
| "transitionDelay"
| "transitionDuration"
| "transitionProperty"
| "transitionTimingFunction"
| "translate"
| "unicodeBidi"
| "userSelect"
| "vectorEffect"
| "verticalAlign"
| "viewTransitionName"
| "visibility"
| "webkitAlignContent"
| "webkitAlignItems"
| "webkitAlignSelf"
| "webkitAnimation"
| "webkitAnimationDelay"
| "webkitAnimationDirection"
| "webkitAnimationDuration"
| "webkitAnimationFillMode"
| "webkitAnimationIterationCount"
| "webkitAnimationName"
| "webkitAnimationPlayState"
| "webkitAnimationTimingFunction"
| "webkitAppearance"
| "webkitBackfaceVisibility"
| "webkitBackgroundClip"
| "webkitBackgroundOrigin"
| "webkitBackgroundSize"
| "webkitBorderBottomLeftRadius"
| "webkitBorderBottomRightRadius"
| "webkitBorderRadius"
| "webkitBorderTopLeftRadius"
| "webkitBorderTopRightRadius"
| "webkitBoxAlign"
| "webkitBoxFlex"
| "webkitBoxOrdinalGroup"
| "webkitBoxOrient"
| "webkitBoxPack"
| "webkitBoxShadow"
| "webkitBoxSizing"
| "webkitFilter"
| "webkitFlex"
| "webkitFlexBasis"
| "webkitFlexDirection"
| "webkitFlexFlow"
| "webkitFlexGrow"
| "webkitFlexShrink"
| "webkitFlexWrap"
| "webkitJustifyContent"
| "webkitLineClamp"
| "webkitMask"
| "webkitMaskBoxImage"
| "webkitMaskBoxImageOutset"
| "webkitMaskBoxImageRepeat"
| "webkitMaskBoxImageSlice"
| "webkitMaskBoxImageSource"
| "webkitMaskBoxImageWidth"
| "webkitMaskClip"
| "webkitMaskComposite"
| "webkitMaskImage"
| "webkitMaskOrigin"
| "webkitMaskPosition"
| "webkitMaskRepeat"
| "webkitMaskSize"
| "webkitOrder"
| "webkitPerspective"
| "webkitPerspectiveOrigin"
| "webkitTextFillColor"
| "webkitTextSizeAdjust"
| "webkitTextStroke"
| "webkitTextStrokeColor"
| "webkitTextStrokeWidth"
| "webkitTransform"
| "webkitTransformOrigin"
| "webkitTransformStyle"
| "webkitTransition"
| "webkitTransitionDelay"
| "webkitTransitionDuration"
| "webkitTransitionProperty"
| "webkitTransitionTimingFunction"
| "webkitUserSelect"
| "whiteSpace"
| "whiteSpaceCollapse"
| "widows"
| "willChange"
| "wordBreak"
| "wordSpacing"
| "wordWrap"
| "writingMode"
| "x"
| "y"
| "zIndex"
| "zoom"
, string
| number
>>
Returns
void
setProperty()
Sets the given custom property value on the element.
Parameters
property
`--${string}`
The name of the CSS property.
value
The value to set. If a number, the value is applied as pixels.
string
| number
Returns
void
setTransform()
Sets the transform value.
Parameters
x
number
y
number
scale?
number
scaleY?
number
Returns
void