CSSStyleDeclaration

abstract external class CSSStyleDeclaration : 
    ItemArrayLike<String>
(source)

Platform and version requirements: JS

Exposes the JavaScript CSSStyleDeclaration to Kotlin

Constructors

<init>

CSSStyleDeclaration()

Exposes the JavaScript CSSStyleDeclaration to Kotlin

Properties

_camel_cased_attribute

open var _camel_cased_attribute: String

_dashed_attribute

open var _dashed_attribute: String

_webkit_cased_attribute

open var _webkit_cased_attribute: String

alignContent

open var alignContent: String

alignItems

open var alignItems: String

alignSelf

open var alignSelf: String

animation

open var animation: String

animationDelay

open var animationDelay: String

animationDirection

open var animationDirection: String

animationDuration

open var animationDuration: String

animationFillMode

open var animationFillMode: String

animationIterationCount

open var animationIterationCount: String

animationName

open var animationName: String

animationPlayState

open var animationPlayState: String

animationTimingFunction

open var animationTimingFunction: String

backfaceVisibility

open var backfaceVisibility: String

background

open var background: String

backgroundAttachment

open var backgroundAttachment: String

backgroundClip

open var backgroundClip: String

backgroundColor

open var backgroundColor: String

backgroundImage

open var backgroundImage: String

backgroundOrigin

open var backgroundOrigin: String

backgroundPosition

open var backgroundPosition: String

backgroundRepeat

open var backgroundRepeat: String

backgroundSize

open var backgroundSize: String

border

open var border: String

borderBottom

open var borderBottom: String

borderBottomColor

open var borderBottomColor: String

borderBottomLeftRadius

open var borderBottomLeftRadius: String

borderBottomRightRadius

open var borderBottomRightRadius: String

borderBottomStyle

open var borderBottomStyle: String

borderBottomWidth

open var borderBottomWidth: String

borderCollapse

open var borderCollapse: String

borderColor

open var borderColor: String

borderImage

open var borderImage: String

borderImageOutset

open var borderImageOutset: String

borderImageRepeat

open var borderImageRepeat: String

borderImageSlice

open var borderImageSlice: String

borderImageSource

open var borderImageSource: String

borderImageWidth

open var borderImageWidth: String

borderLeft

open var borderLeft: String

borderLeftColor

open var borderLeftColor: String

borderLeftStyle

open var borderLeftStyle: String

borderLeftWidth

open var borderLeftWidth: String

borderRadius

open var borderRadius: String

borderRight

open var borderRight: String

borderRightColor

open var borderRightColor: String

borderRightStyle

open var borderRightStyle: String

borderRightWidth

open var borderRightWidth: String

borderSpacing

open var borderSpacing: String

borderStyle

open var borderStyle: String

borderTop

open var borderTop: String

borderTopColor

open var borderTopColor: String

borderTopLeftRadius

open var borderTopLeftRadius: String

borderTopRightRadius

open var borderTopRightRadius: String

borderTopStyle

open var borderTopStyle: String

borderTopWidth

open var borderTopWidth: String

borderWidth

open var borderWidth: String

bottom

open var bottom: String

boxDecorationBreak

open var boxDecorationBreak: String

boxShadow

open var boxShadow: String

boxSizing

open var boxSizing: String

breakAfter

open var breakAfter: String

breakBefore

open var breakBefore: String

breakInside

open var breakInside: String

captionSide

open var captionSide: String

clear

open var clear: String

clip

open var clip: String

color

open var color: String

columnCount

open var columnCount: String

columnFill

open var columnFill: String

columnGap

open var columnGap: String

columnRule

open var columnRule: String

columnRuleColor

open var columnRuleColor: String

columnRuleStyle

open var columnRuleStyle: String

columnRuleWidth

open var columnRuleWidth: String

columnSpan

open var columnSpan: String

columnWidth

open var columnWidth: String

columns

open var columns: String

content

open var content: String

counterIncrement

open var counterIncrement: String

counterReset

open var counterReset: String

cssFloat

open var cssFloat: String

cssText

open var cssText: String

cursor

open var cursor: String

direction

open var direction: String

display

open var display: String

emptyCells

open var emptyCells: String

filter

open var filter: String

flex

open var flex: String

flexBasis

open var flexBasis: String

flexDirection

open var flexDirection: String

flexFlow

open var flexFlow: String

flexGrow

open var flexGrow: String

flexShrink

open var flexShrink: String

flexWrap

open var flexWrap: String

font

open var font: String

fontFamily

open var fontFamily: String

fontFeatureSettings

open var fontFeatureSettings: String

fontKerning

open var fontKerning: String

fontLanguageOverride

open var fontLanguageOverride: String

fontSize

open var fontSize: String

fontSizeAdjust

open var fontSizeAdjust: String

fontStretch

open var fontStretch: String

fontStyle

open var fontStyle: String

fontSynthesis

open var fontSynthesis: String

fontVariant

open var fontVariant: String

fontVariantAlternates

open var fontVariantAlternates: String

fontVariantCaps

open var fontVariantCaps: String

fontVariantEastAsian

open var fontVariantEastAsian: String

fontVariantLigatures

open var fontVariantLigatures: String

fontVariantNumeric

open var fontVariantNumeric: String

fontVariantPosition

open var fontVariantPosition: String

fontWeight

open var fontWeight: String

hangingPunctuation

open var hangingPunctuation: String

height

open var height: String

hyphens

open var hyphens: String

imageOrientation

open var imageOrientation: String

imageRendering

open var imageRendering: String

imageResolution

open var imageResolution: String

imeMode

open var imeMode: String

justifyContent

open var justifyContent: String

left

open var left: String

length

open val length: Int

letterSpacing

open var letterSpacing: String

lineBreak

open var lineBreak: String

lineHeight

open var lineHeight: String

listStyle

open var listStyle: String

listStyleImage

open var listStyleImage: String

listStylePosition

open var listStylePosition: String

listStyleType

open var listStyleType: String

margin

open var margin: String

marginBottom

open var marginBottom: String

marginLeft

open var marginLeft: String

marginRight

open var marginRight: String

marginTop

open var marginTop: String

mark

open var mark: String

markAfter

open var markAfter: String

markBefore

open var markBefore: String

marks

open var marks: String

marqueeDirection

open var marqueeDirection: String

marqueePlayCount

open var marqueePlayCount: String

marqueeSpeed

open var marqueeSpeed: String

marqueeStyle

open var marqueeStyle: String

mask

open var mask: String

maskType

open var maskType: String

maxHeight

open var maxHeight: String

maxWidth

open var maxWidth: String

minHeight

open var minHeight: String

minWidth

open var minWidth: String

navDown

open var navDown: String

navIndex

open var navIndex: String

navLeft

open var navLeft: String

navRight

open var navRight: String

navUp

open var navUp: String

objectFit

open var objectFit: String

objectPosition

open var objectPosition: String

opacity

open var opacity: String

order

open var order: String

orphans

open var orphans: String

outline

open var outline: String

outlineColor

open var outlineColor: String

outlineOffset

open var outlineOffset: String

outlineStyle

open var outlineStyle: String

outlineWidth

open var outlineWidth: String

overflowWrap

open var overflowWrap: String

overflowX

open var overflowX: String

overflowY

open var overflowY: String

padding

open var padding: String

paddingBottom

open var paddingBottom: String

paddingLeft

open var paddingLeft: String

paddingRight

open var paddingRight: String

paddingTop

open var paddingTop: String

pageBreakAfter

open var pageBreakAfter: String

pageBreakBefore

open var pageBreakBefore: String

pageBreakInside

open var pageBreakInside: String

parentRule

open val parentRule: CSSRule?

perspective

open var perspective: String

perspectiveOrigin

open var perspectiveOrigin: String

phonemes

open var phonemes: String

position

open var position: String

quotes

open var quotes: String

resize

open var resize: String

rest

open var rest: String

restAfter

open var restAfter: String

restBefore

open var restBefore: String

right

open var right: String

tabSize

open var tabSize: String

tableLayout

open var tableLayout: String

textAlign

open var textAlign: String

textAlignLast

open var textAlignLast: String

textCombineUpright

open var textCombineUpright: String

textDecoration

open var textDecoration: String

textDecorationColor

open var textDecorationColor: String

textDecorationLine

open var textDecorationLine: String

textDecorationStyle

open var textDecorationStyle: String

textIndent

open var textIndent: String

textJustify

open var textJustify: String

textOrientation

open var textOrientation: String

textOverflow

open var textOverflow: String

textShadow

open var textShadow: String

textTransform

open var textTransform: String

textUnderlinePosition

open var textUnderlinePosition: String

top

open var top: String

transform

open var transform: String

transformOrigin

open var transformOrigin: String

transformStyle

open var transformStyle: String

transition

open var transition: String

transitionDelay

open var transitionDelay: String

transitionDuration

open var transitionDuration: String

transitionProperty

open var transitionProperty: String

transitionTimingFunction

open var transitionTimingFunction: String

unicodeBidi

open var unicodeBidi: String

verticalAlign

open var verticalAlign: String

visibility

open var visibility: String

voiceBalance

open var voiceBalance: String

voiceDuration

open var voiceDuration: String

voicePitch

open var voicePitch: String

voicePitchRange

open var voicePitchRange: String

voiceRate

open var voiceRate: String

voiceStress

open var voiceStress: String

voiceVolume

open var voiceVolume: String

whiteSpace

open var whiteSpace: String

widows

open var widows: String

width

open var width: String

wordBreak

open var wordBreak: String

wordSpacing

open var wordSpacing: String

wordWrap

open var wordWrap: String

writingMode

open var writingMode: String

zIndex

open var zIndex: String

Functions

getPropertyPriority

fun getPropertyPriority(property: String): String

getPropertyValue

fun getPropertyValue(property: String): String

item

open fun item(index: Int): String

removeProperty

fun removeProperty(property: String): String

setProperty

fun setProperty(
    property: String,
    value: String,
    priority: String = definedExternally)

setPropertyPriority

fun setPropertyPriority(property: String, priority: String)

setPropertyValue

fun setPropertyValue(property: String, value: String)

Extension Functions

asList

fun <T> ItemArrayLike<T>.asList(): List<T>

Returns the view of this ItemArrayLike<T> collection as List<T>

get

operator fun CSSStyleDeclaration.get(index: Int): String?