CSSStyleDeclaration extension type
The CSSStyleDeclaration
interface represents an object that is a CSS
declaration block, and exposes style information and various style-related
methods and properties.
A CSSStyleDeclaration
object can be exposed using three different APIs:
- Via HTMLElement.style, which deals with the inline styles of a single
element (e.g.,
<div style="…">
). - Via the CSSStyleSheet API. For example,
document.styleSheets[0].cssRules[0].style
returns aCSSStyleDeclaration
object on the first CSS rule in the document's first stylesheet. - Via Window.getComputedStyle, which exposes the
CSSStyleDeclaration
object as a read-only interface.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- accentColor ↔ String
-
getter/setter pair
- alignContent ↔ String
-
getter/setter pair
- alignItems ↔ String
-
getter/setter pair
- alignmentBaseline ↔ String
-
getter/setter pair
- alignSelf ↔ String
-
getter/setter pair
- all ↔ String
-
getter/setter pair
- anchorName ↔ String
-
getter/setter pair
- anchorScope ↔ String
-
getter/setter pair
- animation ↔ String
-
getter/setter pair
- animationComposition ↔ String
-
getter/setter pair
- animationDelay ↔ String
-
getter/setter pair
- animationDirection ↔ String
-
getter/setter pair
- animationDuration ↔ String
-
getter/setter pair
- animationFillMode ↔ String
-
getter/setter pair
- animationIterationCount ↔ String
-
getter/setter pair
- animationName ↔ String
-
getter/setter pair
- animationPlayState ↔ String
-
getter/setter pair
- animationRange ↔ String
-
getter/setter pair
- animationRangeEnd ↔ String
-
getter/setter pair
- animationRangeStart ↔ String
-
getter/setter pair
- animationTimeline ↔ String
-
getter/setter pair
- animationTimingFunction ↔ String
-
getter/setter pair
- appearance ↔ String
-
getter/setter pair
- aspectRatio ↔ String
-
getter/setter pair
- backdropFilter ↔ String
-
getter/setter pair
- backfaceVisibility ↔ String
-
getter/setter pair
- background ↔ String
-
getter/setter pair
- backgroundAttachment ↔ String
-
getter/setter pair
- backgroundBlendMode ↔ String
-
getter/setter pair
- backgroundClip ↔ String
-
getter/setter pair
- backgroundColor ↔ String
-
getter/setter pair
- backgroundImage ↔ String
-
getter/setter pair
- backgroundOrigin ↔ String
-
getter/setter pair
- backgroundPosition ↔ String
-
getter/setter pair
- backgroundPositionBlock ↔ String
-
getter/setter pair
- backgroundPositionInline ↔ String
-
getter/setter pair
- backgroundPositionX ↔ String
-
getter/setter pair
- backgroundPositionY ↔ String
-
getter/setter pair
- backgroundRepeat ↔ String
-
getter/setter pair
- backgroundSize ↔ String
-
getter/setter pair
- backgroundTbd ↔ String
-
getter/setter pair
- baselineShift ↔ String
-
getter/setter pair
- baselineSource ↔ String
-
getter/setter pair
- blockEllipsis ↔ String
-
getter/setter pair
- blockSize ↔ String
-
getter/setter pair
- blockStep ↔ String
-
getter/setter pair
- blockStepAlign ↔ String
-
getter/setter pair
- blockStepInsert ↔ String
-
getter/setter pair
- blockStepRound ↔ String
-
getter/setter pair
- blockStepSize ↔ String
-
getter/setter pair
- bookmarkLabel ↔ String
-
getter/setter pair
- bookmarkLevel ↔ String
-
getter/setter pair
- bookmarkState ↔ String
-
getter/setter pair
- border ↔ String
-
getter/setter pair
- borderBlock ↔ String
-
getter/setter pair
- borderBlockColor ↔ String
-
getter/setter pair
- borderBlockEnd ↔ String
-
getter/setter pair
- borderBlockEndColor ↔ String
-
getter/setter pair
- borderBlockEndRadius ↔ String
-
getter/setter pair
- borderBlockEndStyle ↔ String
-
getter/setter pair
- borderBlockEndWidth ↔ String
-
getter/setter pair
- borderBlockStart ↔ String
-
getter/setter pair
- borderBlockStartColor ↔ String
-
getter/setter pair
- borderBlockStartRadius ↔ String
-
getter/setter pair
- borderBlockStartStyle ↔ String
-
getter/setter pair
- borderBlockStartWidth ↔ String
-
getter/setter pair
- borderBlockStyle ↔ String
-
getter/setter pair
- borderBlockWidth ↔ String
-
getter/setter pair
- borderBottom ↔ String
-
getter/setter pair
- borderBottomColor ↔ String
-
getter/setter pair
- borderBottomLeftRadius ↔ String
-
getter/setter pair
- borderBottomRadius ↔ String
-
getter/setter pair
- borderBottomRightRadius ↔ String
-
getter/setter pair
- borderBottomStyle ↔ String
-
getter/setter pair
- borderBottomWidth ↔ String
-
getter/setter pair
- borderBoundary ↔ String
-
getter/setter pair
- borderClip ↔ String
-
getter/setter pair
- borderClipBottom ↔ String
-
getter/setter pair
- borderClipLeft ↔ String
-
getter/setter pair
- borderClipRight ↔ String
-
getter/setter pair
- borderClipTop ↔ String
-
getter/setter pair
- borderCollapse ↔ String
-
getter/setter pair
- borderColor ↔ String
-
getter/setter pair
- borderEndEndRadius ↔ String
-
getter/setter pair
- borderEndStartRadius ↔ String
-
getter/setter pair
- borderImage ↔ String
-
getter/setter pair
- borderImageOutset ↔ String
-
getter/setter pair
- borderImageRepeat ↔ String
-
getter/setter pair
- borderImageSlice ↔ String
-
getter/setter pair
- borderImageSource ↔ String
-
getter/setter pair
- borderImageWidth ↔ String
-
getter/setter pair
- borderInline ↔ String
-
getter/setter pair
- borderInlineColor ↔ String
-
getter/setter pair
- borderInlineEnd ↔ String
-
getter/setter pair
- borderInlineEndColor ↔ String
-
getter/setter pair
- borderInlineEndRadius ↔ String
-
getter/setter pair
- borderInlineEndStyle ↔ String
-
getter/setter pair
- borderInlineEndWidth ↔ String
-
getter/setter pair
- borderInlineStart ↔ String
-
getter/setter pair
- borderInlineStartColor ↔ String
-
getter/setter pair
- borderInlineStartRadius ↔ String
-
getter/setter pair
- borderInlineStartStyle ↔ String
-
getter/setter pair
- borderInlineStartWidth ↔ String
-
getter/setter pair
- borderInlineStyle ↔ String
-
getter/setter pair
- borderInlineWidth ↔ String
-
getter/setter pair
- borderLeft ↔ String
-
getter/setter pair
- borderLeftColor ↔ String
-
getter/setter pair
- borderLeftRadius ↔ String
-
getter/setter pair
- borderLeftStyle ↔ String
-
getter/setter pair
- borderLeftWidth ↔ String
-
getter/setter pair
- borderLimit ↔ String
-
getter/setter pair
- borderRadius ↔ String
-
getter/setter pair
- borderRight ↔ String
-
getter/setter pair
- borderRightColor ↔ String
-
getter/setter pair
- borderRightRadius ↔ String
-
getter/setter pair
- borderRightStyle ↔ String
-
getter/setter pair
- borderRightWidth ↔ String
-
getter/setter pair
- borderSpacing ↔ String
-
getter/setter pair
- borderStartEndRadius ↔ String
-
getter/setter pair
- borderStartStartRadius ↔ String
-
getter/setter pair
- borderStyle ↔ String
-
getter/setter pair
- borderTop ↔ String
-
getter/setter pair
- borderTopColor ↔ String
-
getter/setter pair
- borderTopLeftRadius ↔ String
-
getter/setter pair
- borderTopRadius ↔ String
-
getter/setter pair
- borderTopRightRadius ↔ String
-
getter/setter pair
- borderTopStyle ↔ String
-
getter/setter pair
- borderTopWidth ↔ String
-
getter/setter pair
- borderWidth ↔ String
-
getter/setter pair
- bottom ↔ String
-
getter/setter pair
- boxDecorationBreak ↔ String
-
getter/setter pair
- boxShadow ↔ String
-
getter/setter pair
- boxShadowBlur ↔ String
-
getter/setter pair
- boxShadowColor ↔ String
-
getter/setter pair
- boxShadowOffset ↔ String
-
getter/setter pair
- boxShadowPosition ↔ String
-
getter/setter pair
- boxShadowSpread ↔ String
-
getter/setter pair
- boxSizing ↔ String
-
getter/setter pair
- boxSnap ↔ String
-
getter/setter pair
- breakAfter ↔ String
-
getter/setter pair
- breakBefore ↔ String
-
getter/setter pair
- breakInside ↔ String
-
getter/setter pair
-
getter/setter pair
- caret ↔ String
-
getter/setter pair
- caretAnimation ↔ String
-
getter/setter pair
- caretColor ↔ String
-
getter/setter pair
- caretShape ↔ String
-
getter/setter pair
- clear ↔ String
-
getter/setter pair
- clip ↔ String
-
getter/setter pair
- clipPath ↔ String
-
getter/setter pair
- clipRule ↔ String
-
getter/setter pair
- color ↔ String
-
getter/setter pair
- colorAdjust ↔ String
-
getter/setter pair
- colorInterpolation ↔ String
-
getter/setter pair
- colorInterpolationFilters ↔ String
-
getter/setter pair
- colorScheme ↔ String
-
getter/setter pair
- columnCount ↔ String
-
getter/setter pair
- columnFill ↔ String
-
getter/setter pair
- columnGap ↔ String
-
getter/setter pair
- columnRule ↔ String
-
getter/setter pair
- columnRuleColor ↔ String
-
getter/setter pair
- columnRuleStyle ↔ String
-
getter/setter pair
- columnRuleWidth ↔ String
-
getter/setter pair
- columns ↔ String
-
getter/setter pair
- columnSpan ↔ String
-
getter/setter pair
- columnWidth ↔ String
-
getter/setter pair
- contain ↔ String
-
getter/setter pair
- container ↔ String
-
getter/setter pair
- containerName ↔ String
-
getter/setter pair
- containerType ↔ String
-
getter/setter pair
- containIntrinsicBlockSize ↔ String
-
getter/setter pair
- containIntrinsicHeight ↔ String
-
getter/setter pair
- containIntrinsicInlineSize ↔ String
-
getter/setter pair
- containIntrinsicSize ↔ String
-
getter/setter pair
- containIntrinsicWidth ↔ String
-
getter/setter pair
- content ↔ String
-
getter/setter pair
- contentVisibility ↔ String
-
getter/setter pair
- continue_ ↔ String
-
getter/setter pair
- copyInto ↔ String
-
getter/setter pair
- corners ↔ String
-
getter/setter pair
- cornerShape ↔ String
-
getter/setter pair
- counterIncrement ↔ String
-
getter/setter pair
- counterReset ↔ String
-
getter/setter pair
- counterSet ↔ String
-
getter/setter pair
- cssText ↔ String
-
The
cssText
property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.getter/setter pair - cue ↔ String
-
getter/setter pair
- cueAfter ↔ String
-
getter/setter pair
- cueBefore ↔ String
-
getter/setter pair
- cursor ↔ String
-
getter/setter pair
- cx ↔ String
-
getter/setter pair
- cy ↔ String
-
getter/setter pair
- d ↔ String
-
getter/setter pair
- direction ↔ String
-
getter/setter pair
- display ↔ String
-
getter/setter pair
- dominantBaseline ↔ String
-
getter/setter pair
- dynamicRangeLimit ↔ String
-
getter/setter pair
- emptyCells ↔ String
-
getter/setter pair
- fieldSizing ↔ String
-
getter/setter pair
- fill ↔ String
-
getter/setter pair
- fillBreak ↔ String
-
getter/setter pair
- fillColor ↔ String
-
getter/setter pair
- fillImage ↔ String
-
getter/setter pair
- fillOpacity ↔ String
-
getter/setter pair
- fillOrigin ↔ String
-
getter/setter pair
- fillPosition ↔ String
-
getter/setter pair
- fillRepeat ↔ String
-
getter/setter pair
- fillRule ↔ String
-
getter/setter pair
- fillSize ↔ String
-
getter/setter pair
- filter ↔ String
-
getter/setter pair
- flex ↔ String
-
getter/setter pair
- flexBasis ↔ String
-
getter/setter pair
- flexDirection ↔ String
-
getter/setter pair
- flexFlow ↔ String
-
getter/setter pair
- flexGrow ↔ String
-
getter/setter pair
- flexShrink ↔ String
-
getter/setter pair
- flexWrap ↔ String
-
getter/setter pair
- float ↔ String
-
getter/setter pair
- floatDefer ↔ String
-
getter/setter pair
- floatOffset ↔ String
-
getter/setter pair
- floatReference ↔ String
-
getter/setter pair
- floodColor ↔ String
-
getter/setter pair
- floodOpacity ↔ String
-
getter/setter pair
- flowFrom ↔ String
-
getter/setter pair
- flowInto ↔ String
-
getter/setter pair
- font ↔ String
-
getter/setter pair
- fontFamily ↔ String
-
getter/setter pair
- fontFeatureSettings ↔ String
-
getter/setter pair
- fontKerning ↔ String
-
getter/setter pair
- fontLanguageOverride ↔ String
-
getter/setter pair
- fontOpticalSizing ↔ String
-
getter/setter pair
- fontPalette ↔ String
-
getter/setter pair
- fontSize ↔ String
-
getter/setter pair
- fontSizeAdjust ↔ String
-
getter/setter pair
- fontStretch ↔ String
-
getter/setter pair
- fontStyle ↔ String
-
getter/setter pair
- fontSynthesis ↔ String
-
getter/setter pair
- fontSynthesisPosition ↔ String
-
getter/setter pair
- fontSynthesisSmallCaps ↔ String
-
getter/setter pair
- fontSynthesisStyle ↔ String
-
getter/setter pair
- fontSynthesisWeight ↔ String
-
getter/setter pair
- fontVariant ↔ String
-
getter/setter pair
- fontVariantAlternates ↔ String
-
getter/setter pair
- fontVariantCaps ↔ String
-
getter/setter pair
- fontVariantEastAsian ↔ String
-
getter/setter pair
- fontVariantEmoji ↔ String
-
getter/setter pair
- fontVariantLigatures ↔ String
-
getter/setter pair
- fontVariantNumeric ↔ String
-
getter/setter pair
- fontVariantPosition ↔ String
-
getter/setter pair
- fontVariationSettings ↔ String
-
getter/setter pair
- fontWeight ↔ String
-
getter/setter pair
- fontWidth ↔ String
-
getter/setter pair
- footnoteDisplay ↔ String
-
getter/setter pair
- footnotePolicy ↔ String
-
getter/setter pair
- forcedColorAdjust ↔ String
-
getter/setter pair
- gap ↔ String
-
getter/setter pair
- glyphOrientationVertical ↔ String
-
getter/setter pair
- grid ↔ String
-
getter/setter pair
- gridArea ↔ String
-
getter/setter pair
- gridAutoColumns ↔ String
-
getter/setter pair
- gridAutoFlow ↔ String
-
getter/setter pair
- gridAutoRows ↔ String
-
getter/setter pair
- gridColumn ↔ String
-
getter/setter pair
- gridColumnEnd ↔ String
-
getter/setter pair
- gridColumnGap ↔ String
-
getter/setter pair
- gridColumnStart ↔ String
-
getter/setter pair
- gridGap ↔ String
-
getter/setter pair
- gridRow ↔ String
-
getter/setter pair
- gridRowEnd ↔ String
-
getter/setter pair
- gridRowGap ↔ String
-
getter/setter pair
- gridRowStart ↔ String
-
getter/setter pair
- gridTemplate ↔ String
-
getter/setter pair
- gridTemplateAreas ↔ String
-
getter/setter pair
- gridTemplateColumns ↔ String
-
getter/setter pair
- gridTemplateRows ↔ String
-
getter/setter pair
- hangingPunctuation ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ String
-
getter/setter pair
- hyphenateCharacter ↔ String
-
getter/setter pair
- hyphenateLimitChars ↔ String
-
getter/setter pair
- hyphenateLimitLast ↔ String
-
getter/setter pair
- hyphenateLimitLines ↔ String
-
getter/setter pair
- hyphenateLimitZone ↔ String
-
getter/setter pair
- hyphens ↔ String
-
getter/setter pair
- imageOrientation ↔ String
-
getter/setter pair
- imageRendering ↔ String
-
getter/setter pair
- imageResolution ↔ String
-
getter/setter pair
- initialLetter ↔ String
-
getter/setter pair
- initialLetterAlign ↔ String
-
getter/setter pair
- initialLetterWrap ↔ String
-
getter/setter pair
- inlineSize ↔ String
-
getter/setter pair
- inlineSizing ↔ String
-
getter/setter pair
- inputSecurity ↔ String
-
getter/setter pair
- inset ↔ String
-
getter/setter pair
- insetArea ↔ String
-
getter/setter pair
- insetBlock ↔ String
-
getter/setter pair
- insetBlockEnd ↔ String
-
getter/setter pair
- insetBlockStart ↔ String
-
getter/setter pair
- insetInline ↔ String
-
getter/setter pair
- insetInlineEnd ↔ String
-
getter/setter pair
- insetInlineStart ↔ String
-
getter/setter pair
- isDefinedAndNotNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - isNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptnull
.no setter - isolation ↔ String
-
getter/setter pair
- isTruthy → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!!
in JavaScript.this
no setter - isUndefined → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptundefined
.no setter - isUndefinedOrNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - justifyContent ↔ String
-
getter/setter pair
- justifyItems ↔ String
-
getter/setter pair
- justifySelf ↔ String
-
getter/setter pair
- left ↔ String
-
getter/setter pair
- length → int
-
The read-only property returns an integer that represents the
number of style declarations in this CSS declaration block.
no setter
- letterSpacing ↔ String
-
getter/setter pair
- lightingColor ↔ String
-
getter/setter pair
- lineBreak ↔ String
-
getter/setter pair
- lineClamp ↔ String
-
getter/setter pair
- lineGrid ↔ String
-
getter/setter pair
- lineHeight ↔ String
-
getter/setter pair
- lineHeightStep ↔ String
-
getter/setter pair
- linePadding ↔ String
-
getter/setter pair
- lineSnap ↔ String
-
getter/setter pair
- linkParameters ↔ String
-
getter/setter pair
- listStyle ↔ String
-
getter/setter pair
- listStyleImage ↔ String
-
getter/setter pair
- listStylePosition ↔ String
-
getter/setter pair
- listStyleType ↔ String
-
getter/setter pair
- margin ↔ String
-
getter/setter pair
- marginBlock ↔ String
-
getter/setter pair
- marginBlockEnd ↔ String
-
getter/setter pair
- marginBlockStart ↔ String
-
getter/setter pair
- marginBottom ↔ String
-
getter/setter pair
- marginBreak ↔ String
-
getter/setter pair
- marginInline ↔ String
-
getter/setter pair
- marginInlineEnd ↔ String
-
getter/setter pair
- marginInlineStart ↔ String
-
getter/setter pair
- marginLeft ↔ String
-
getter/setter pair
- marginRight ↔ String
-
getter/setter pair
- marginTop ↔ String
-
getter/setter pair
- marginTrim ↔ String
-
getter/setter pair
- marker ↔ String
-
getter/setter pair
- markerEnd ↔ String
-
getter/setter pair
- markerMid ↔ String
-
getter/setter pair
- markerSide ↔ String
-
getter/setter pair
- markerStart ↔ String
-
getter/setter pair
- mask ↔ String
-
getter/setter pair
- maskBorder ↔ String
-
getter/setter pair
- maskBorderMode ↔ String
-
getter/setter pair
- maskBorderOutset ↔ String
-
getter/setter pair
- maskBorderRepeat ↔ String
-
getter/setter pair
- maskBorderSlice ↔ String
-
getter/setter pair
- maskBorderSource ↔ String
-
getter/setter pair
- maskBorderWidth ↔ String
-
getter/setter pair
- maskClip ↔ String
-
getter/setter pair
- maskComposite ↔ String
-
getter/setter pair
- maskImage ↔ String
-
getter/setter pair
- maskMode ↔ String
-
getter/setter pair
- maskOrigin ↔ String
-
getter/setter pair
- maskPosition ↔ String
-
getter/setter pair
- maskRepeat ↔ String
-
getter/setter pair
- maskSize ↔ String
-
getter/setter pair
- maskType ↔ String
-
getter/setter pair
- masonryAutoFlow ↔ String
-
getter/setter pair
- mathDepth ↔ String
-
getter/setter pair
- mathShift ↔ String
-
getter/setter pair
- mathStyle ↔ String
-
getter/setter pair
- maxBlockSize ↔ String
-
getter/setter pair
- maxHeight ↔ String
-
getter/setter pair
- maxInlineSize ↔ String
-
getter/setter pair
- maxLines ↔ String
-
getter/setter pair
- maxWidth ↔ String
-
getter/setter pair
- minBlockSize ↔ String
-
getter/setter pair
- minHeight ↔ String
-
getter/setter pair
- minInlineSize ↔ String
-
getter/setter pair
- minIntrinsicSizing ↔ String
-
getter/setter pair
- minWidth ↔ String
-
getter/setter pair
- mixBlendMode ↔ String
-
getter/setter pair
-
getter/setter pair
-
getter/setter pair
-
getter/setter pair
-
getter/setter pair
- not → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!
in JavaScript.this
no setter - objectFit ↔ String
-
getter/setter pair
- objectPosition ↔ String
-
getter/setter pair
- objectViewBox ↔ String
-
getter/setter pair
- offset ↔ String
-
getter/setter pair
- offsetAnchor ↔ String
-
getter/setter pair
- offsetDistance ↔ String
-
getter/setter pair
- offsetPath ↔ String
-
getter/setter pair
- offsetPosition ↔ String
-
getter/setter pair
- offsetRotate ↔ String
-
getter/setter pair
- opacity ↔ String
-
getter/setter pair
- order ↔ String
-
getter/setter pair
- orphans ↔ String
-
getter/setter pair
- outline ↔ String
-
getter/setter pair
- outlineColor ↔ String
-
getter/setter pair
- outlineOffset ↔ String
-
getter/setter pair
- outlineStyle ↔ String
-
getter/setter pair
- outlineWidth ↔ String
-
getter/setter pair
- overflow ↔ String
-
getter/setter pair
- overflowAnchor ↔ String
-
getter/setter pair
- overflowBlock ↔ String
-
getter/setter pair
- overflowClipMargin ↔ String
-
getter/setter pair
- overflowClipMarginBlock ↔ String
-
getter/setter pair
- overflowClipMarginBlockEnd ↔ String
-
getter/setter pair
- overflowClipMarginBlockStart ↔ String
-
getter/setter pair
- overflowClipMarginBottom ↔ String
-
getter/setter pair
- overflowClipMarginInline ↔ String
-
getter/setter pair
- overflowClipMarginInlineEnd ↔ String
-
getter/setter pair
- overflowClipMarginInlineStart ↔ String
-
getter/setter pair
- overflowClipMarginLeft ↔ String
-
getter/setter pair
- overflowClipMarginRight ↔ String
-
getter/setter pair
- overflowClipMarginTop ↔ String
-
getter/setter pair
- overflowInline ↔ String
-
getter/setter pair
- overflowWrap ↔ String
-
getter/setter pair
- overflowX ↔ String
-
getter/setter pair
- overflowY ↔ String
-
getter/setter pair
- overlay ↔ String
-
getter/setter pair
- overscrollBehavior ↔ String
-
getter/setter pair
- overscrollBehaviorBlock ↔ String
-
getter/setter pair
- overscrollBehaviorInline ↔ String
-
getter/setter pair
- overscrollBehaviorX ↔ String
-
getter/setter pair
- overscrollBehaviorY ↔ String
-
getter/setter pair
- padding ↔ String
-
getter/setter pair
- paddingBlock ↔ String
-
getter/setter pair
- paddingBlockEnd ↔ String
-
getter/setter pair
- paddingBlockStart ↔ String
-
getter/setter pair
- paddingBottom ↔ String
-
getter/setter pair
- paddingInline ↔ String
-
getter/setter pair
- paddingInlineEnd ↔ String
-
getter/setter pair
- paddingInlineStart ↔ String
-
getter/setter pair
- paddingLeft ↔ String
-
getter/setter pair
- paddingRight ↔ String
-
getter/setter pair
- paddingTop ↔ String
-
getter/setter pair
- page ↔ String
-
getter/setter pair
- pageBreakAfter ↔ String
-
getter/setter pair
- pageBreakBefore ↔ String
-
getter/setter pair
- pageBreakInside ↔ String
-
getter/setter pair
- paintOrder ↔ String
-
getter/setter pair
- parentRule → CSSRule?
-
The CSSStyleDeclaration.parentRule read-only
property returns a CSSRule that is the parent of this style
block, e.g. a CSSStyleRule representing the style for a CSS
selector.
no setter
- pause ↔ String
-
getter/setter pair
- pauseAfter ↔ String
-
getter/setter pair
- pauseBefore ↔ String
-
getter/setter pair
- perspective ↔ String
-
getter/setter pair
- perspectiveOrigin ↔ String
-
getter/setter pair
- placeContent ↔ String
-
getter/setter pair
- placeItems ↔ String
-
getter/setter pair
- placeSelf ↔ String
-
getter/setter pair
- pointerEvents ↔ String
-
getter/setter pair
- position ↔ String
-
getter/setter pair
- positionAnchor ↔ String
-
getter/setter pair
- positionTry ↔ String
-
getter/setter pair
- positionTryOptions ↔ String
-
getter/setter pair
- positionTryOrder ↔ String
-
getter/setter pair
- positionVisibility ↔ String
-
getter/setter pair
- printColorAdjust ↔ String
-
getter/setter pair
- quotes ↔ String
-
getter/setter pair
- r ↔ String
-
getter/setter pair
- readingFlow ↔ String
-
getter/setter pair
- regionFragment ↔ String
-
getter/setter pair
- resize ↔ String
-
getter/setter pair
- rest ↔ String
-
getter/setter pair
- restAfter ↔ String
-
getter/setter pair
- restBefore ↔ String
-
getter/setter pair
- right ↔ String
-
getter/setter pair
- rotate ↔ String
-
getter/setter pair
- rowGap ↔ String
-
getter/setter pair
- rubyAlign ↔ String
-
getter/setter pair
- rubyMerge ↔ String
-
getter/setter pair
- rubyOverhang ↔ String
-
getter/setter pair
- rubyPosition ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rx ↔ String
-
getter/setter pair
- ry ↔ String
-
getter/setter pair
- scale ↔ String
-
getter/setter pair
- scrollbarColor ↔ String
-
getter/setter pair
- scrollbarGutter ↔ String
-
getter/setter pair
- scrollbarWidth ↔ String
-
getter/setter pair
- scrollBehavior ↔ String
-
getter/setter pair
- scrollMargin ↔ String
-
getter/setter pair
- scrollMarginBlock ↔ String
-
getter/setter pair
- scrollMarginBlockEnd ↔ String
-
getter/setter pair
- scrollMarginBlockStart ↔ String
-
getter/setter pair
- scrollMarginBottom ↔ String
-
getter/setter pair
- scrollMarginInline ↔ String
-
getter/setter pair
- scrollMarginInlineEnd ↔ String
-
getter/setter pair
- scrollMarginInlineStart ↔ String
-
getter/setter pair
- scrollMarginLeft ↔ String
-
getter/setter pair
- scrollMarginRight ↔ String
-
getter/setter pair
- scrollMarginTop ↔ String
-
getter/setter pair
- scrollPadding ↔ String
-
getter/setter pair
- scrollPaddingBlock ↔ String
-
getter/setter pair
- scrollPaddingBlockEnd ↔ String
-
getter/setter pair
- scrollPaddingBlockStart ↔ String
-
getter/setter pair
- scrollPaddingBottom ↔ String
-
getter/setter pair
- scrollPaddingInline ↔ String
-
getter/setter pair
- scrollPaddingInlineEnd ↔ String
-
getter/setter pair
- scrollPaddingInlineStart ↔ String
-
getter/setter pair
- scrollPaddingLeft ↔ String
-
getter/setter pair
- scrollPaddingRight ↔ String
-
getter/setter pair
- scrollPaddingTop ↔ String
-
getter/setter pair
- scrollSnapAlign ↔ String
-
getter/setter pair
- scrollSnapStop ↔ String
-
getter/setter pair
- scrollSnapType ↔ String
-
getter/setter pair
- scrollStart ↔ String
-
getter/setter pair
- scrollStartBlock ↔ String
-
getter/setter pair
- scrollStartInline ↔ String
-
getter/setter pair
- scrollStartTarget ↔ String
-
getter/setter pair
- scrollStartTargetBlock ↔ String
-
getter/setter pair
- scrollStartTargetInline ↔ String
-
getter/setter pair
- scrollStartTargetX ↔ String
-
getter/setter pair
- scrollStartTargetY ↔ String
-
getter/setter pair
- scrollStartX ↔ String
-
getter/setter pair
- scrollStartY ↔ String
-
getter/setter pair
- scrollTimeline ↔ String
-
getter/setter pair
- scrollTimelineAxis ↔ String
-
getter/setter pair
- scrollTimelineName ↔ String
-
getter/setter pair
- shapeImageThreshold ↔ String
-
getter/setter pair
- shapeInside ↔ String
-
getter/setter pair
- shapeMargin ↔ String
-
getter/setter pair
- shapeOutside ↔ String
-
getter/setter pair
- shapePadding ↔ String
-
getter/setter pair
- shapeRendering ↔ String
-
getter/setter pair
- shapeSubtract ↔ String
-
getter/setter pair
-
getter/setter pair
-
getter/setter pair
-
getter/setter pair
- speak ↔ String
-
getter/setter pair
- speakAs ↔ String
-
getter/setter pair
- stopColor ↔ String
-
getter/setter pair
- stopOpacity ↔ String
-
getter/setter pair
- stringSet ↔ String
-
getter/setter pair
- stroke ↔ String
-
getter/setter pair
- strokeAlign ↔ String
-
getter/setter pair
- strokeAlignment ↔ String
-
getter/setter pair
- strokeBreak ↔ String
-
getter/setter pair
- strokeColor ↔ String
-
getter/setter pair
- strokeDashadjust ↔ String
-
getter/setter pair
- strokeDasharray ↔ String
-
getter/setter pair
- strokeDashCorner ↔ String
-
getter/setter pair
- strokeDashcorner ↔ String
-
getter/setter pair
- strokeDashJustify ↔ String
-
getter/setter pair
- strokeDashoffset ↔ String
-
getter/setter pair
- strokeImage ↔ String
-
getter/setter pair
- strokeLinecap ↔ String
-
getter/setter pair
- strokeLinejoin ↔ String
-
getter/setter pair
- strokeMiterlimit ↔ String
-
getter/setter pair
- strokeOpacity ↔ String
-
getter/setter pair
- strokeOrigin ↔ String
-
getter/setter pair
- strokePosition ↔ String
-
getter/setter pair
- strokeRepeat ↔ String
-
getter/setter pair
- strokeSize ↔ String
-
getter/setter pair
- strokeWidth ↔ String
-
getter/setter pair
- tableLayout ↔ String
-
getter/setter pair
- tabSize ↔ String
-
getter/setter pair
- textAlign ↔ String
-
getter/setter pair
- textAlignAll ↔ String
-
getter/setter pair
- textAlignLast ↔ String
-
getter/setter pair
- textAnchor ↔ String
-
getter/setter pair
- textAutospace ↔ String
-
getter/setter pair
- textBoxEdge ↔ String
-
getter/setter pair
- textBoxTrim ↔ String
-
getter/setter pair
- textCombineUpright ↔ String
-
getter/setter pair
- textDecoration ↔ String
-
getter/setter pair
- textDecorationColor ↔ String
-
getter/setter pair
- textDecorationLine ↔ String
-
getter/setter pair
- textDecorationSkip ↔ String
-
getter/setter pair
- textDecorationSkipBox ↔ String
-
getter/setter pair
- textDecorationSkipInk ↔ String
-
getter/setter pair
- textDecorationSkipSelf ↔ String
-
getter/setter pair
- textDecorationSkipSpaces ↔ String
-
getter/setter pair
- textDecorationStyle ↔ String
-
getter/setter pair
- textDecorationThickness ↔ String
-
getter/setter pair
- textDecorationTrim ↔ String
-
getter/setter pair
- textEmphasis ↔ String
-
getter/setter pair
- textEmphasisColor ↔ String
-
getter/setter pair
- textEmphasisPosition ↔ String
-
getter/setter pair
- textEmphasisSkip ↔ String
-
getter/setter pair
- textEmphasisStyle ↔ String
-
getter/setter pair
- textGroupAlign ↔ String
-
getter/setter pair
- textIndent ↔ String
-
getter/setter pair
- textJustify ↔ String
-
getter/setter pair
- textOrientation ↔ String
-
getter/setter pair
- textOverflow ↔ String
-
getter/setter pair
- textRendering ↔ String
-
getter/setter pair
- textShadow ↔ String
-
getter/setter pair
- textSizeAdjust ↔ String
-
getter/setter pair
- textSpacing ↔ String
-
getter/setter pair
- textSpacingTrim ↔ String
-
getter/setter pair
- textTransform ↔ String
-
getter/setter pair
- textUnderlineOffset ↔ String
-
getter/setter pair
- textUnderlinePosition ↔ String
-
getter/setter pair
- textWrap ↔ String
-
getter/setter pair
- textWrapMode ↔ String
-
getter/setter pair
- textWrapStyle ↔ String
-
getter/setter pair
- timelineScope ↔ String
-
getter/setter pair
- top ↔ String
-
getter/setter pair
- touchAction ↔ String
-
getter/setter pair
- transform ↔ String
-
getter/setter pair
- transformBox ↔ String
-
getter/setter pair
- transformOrigin ↔ String
-
getter/setter pair
- transformStyle ↔ String
-
getter/setter pair
- transition ↔ String
-
getter/setter pair
- transitionBehavior ↔ String
-
getter/setter pair
- transitionDelay ↔ String
-
getter/setter pair
- transitionDuration ↔ String
-
getter/setter pair
- transitionProperty ↔ String
-
getter/setter pair
- transitionTimingFunction ↔ String
-
getter/setter pair
- translate ↔ String
-
getter/setter pair
- unicodeBidi ↔ String
-
getter/setter pair
- userSelect ↔ String
-
getter/setter pair
- vectorEffect ↔ String
-
getter/setter pair
- verticalAlign ↔ String
-
getter/setter pair
- viewTimeline ↔ String
-
getter/setter pair
- viewTimelineAxis ↔ String
-
getter/setter pair
- viewTimelineInset ↔ String
-
getter/setter pair
- viewTimelineName ↔ String
-
getter/setter pair
- viewTransitionClass ↔ String
-
getter/setter pair
- viewTransitionName ↔ String
-
getter/setter pair
- visibility ↔ String
-
getter/setter pair
- voiceBalance ↔ String
-
getter/setter pair
- voiceDuration ↔ String
-
getter/setter pair
- voiceFamily ↔ String
-
getter/setter pair
- voicePitch ↔ String
-
getter/setter pair
- voiceRange ↔ String
-
getter/setter pair
- voiceRate ↔ String
-
getter/setter pair
- voiceStress ↔ String
-
getter/setter pair
- voiceVolume ↔ String
-
getter/setter pair
- whiteSpace ↔ String
-
getter/setter pair
- whiteSpaceCollapse ↔ String
-
getter/setter pair
- whiteSpaceTrim ↔ String
-
getter/setter pair
- widows ↔ String
-
getter/setter pair
- width ↔ String
-
getter/setter pair
- willChange ↔ String
-
getter/setter pair
- wordBreak ↔ String
-
getter/setter pair
- wordSpaceTransform ↔ String
-
getter/setter pair
- wordSpacing ↔ String
-
getter/setter pair
- wordWrap ↔ String
-
getter/setter pair
- wrapAfter ↔ String
-
getter/setter pair
- wrapBefore ↔ String
-
getter/setter pair
- wrapFlow ↔ String
-
getter/setter pair
- wrapInside ↔ String
-
getter/setter pair
- wrapThrough ↔ String
-
getter/setter pair
- writingMode ↔ String
-
getter/setter pair
- x ↔ String
-
getter/setter pair
- y ↔ String
-
getter/setter pair
- zIndex ↔ String
-
getter/setter pair
- zoom ↔ String
-
getter/setter pair
Methods
-
add(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
+any
-
and(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
&&any
-
callMethod<
R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with up to four arguments. -
callMethodVarArgs<
R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with a variable number ofarguments
. -
dartify(
) → Object? -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Converts a JavaScript value to the Dart equivalent if possible. -
delete(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Deletes the property with keyproperty
from this JSObject. -
divide(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
/any
-
equals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
==any
-
exponentiate(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
**any
-
getProperty<
R extends JSAny?> (JSAny property) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
The value of the property keyproperty
of this JSObject. -
getPropertyPriority(
String property) → String - The CSSStyleDeclaration.getPropertyPriority() method interface returns a string that provides all explicitly set priorities on the CSS property.
-
getPropertyValue(
String property) → String - The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.
-
greaterThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>any
-
greaterThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>=any
-
has(
String property) → bool -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty
, but takes and returns a Dart value. -
hasProperty(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Whether or not this JSObject contains the property keyproperty
. -
instanceof(
JSFunction constructor) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
constructor
. -
instanceOfString(
String constructorName) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
the constructor that is defined byconstructorName
, which is looked up in the globalContext. -
isA<
T extends JSAny?> () → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is an instance of the JavaScript type that is declared byT
. -
item(
int index) → String -
The
CSSStyleDeclaration.item()
method interface returns a CSS property name from a CSSStyleDeclaration by index. -
lessThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<any
-
lessThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<=any
-
modulo(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
%any
-
multiply(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
*any
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!=any
-
or(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
||any
-
removeProperty(
String property) → String -
The
CSSStyleDeclaration.removeProperty()
method interface removes a property from a CSS style declaration object. -
setProperty(
JSAny property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Write thevalue
of property keyproperty
of this JSObject. -
setProperty(
String property, String value, [String priority]) → void -
The
CSSStyleDeclaration.setProperty()
method interface sets a new value for a property on a CSS style declaration object. -
strictEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
===any
-
strictNotEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!==any
-
subtract(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
-any
-
toString(
) → String -
A string representation of this object.
inherited
-
typeofEquals(
String typeString) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether the result oftypeof
on thisJSAny?
istypeString
. -
unsignedRightShift(
JSAny? any) → JSNumber -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>>>any
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String property) → JSAny? -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for getProperty to get the value of the property keyproperty
of this JSObject, but takes and returns a Dart value. -
operator []=(
String property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for setProperty to write thevalue
of the property keyproperty
of this JSObject, but takes a Dart value.