Class CSSUnitValue

Hierarchy
Index
Constructors

constructor

  • new CSSUnitValue(value: number, unit: string): CSSUnitValue
Properties

type

type: CSSNumericType = new Map()

unit

unit: CSSUnitData

value

value: number
Methods

add

Protected

createType

  • createType(unit: string): CSSNumericType

div

equals

max

min

mul

Protected

multiplyUnitMaps

solve

sub

to

toString

  • toString(): string

toUnit

Static

fromSumValue

Static

rectifyNumberishValue