Allowed unit type.
Readonly
dimReadonly
priorityCSS property value priority.
The value Important and above means the property is !important
. Everything else means normal
priority.
The property value with higher priority number takes precedence over the one with lower one.
Readonly
typeA type of structured numeric CSS property value.
Abstract
addMaps the given CSS property value to the value of this one's type. Defaults to this value if mapping is not possible.
This method allows to use an structured value instance as CSS property mapping.
A raw property value that should be converted.
Mapped property value.
Abstract
isChecks whether this value equals to CSS property value.
CSS property value to compare with.
Abstract
prioritizeAbstract
subAbstract
toTries to converts this numeric value to another dimension.
Does not actually construct a value in another dimension, as long as dimension unit supported by both dimensions.
A unit type allowed in target dimension.
Target dimension.
Either a value in dimension compatible with dim
, or undefined
if this value's unit is not supported
by dim
.
Generated using TypeDoc
Structured unit-less zero value.
Note that some dimensions require units (e.g. frequency or resolution). So this value is not acceptable by them.