toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.cssom
/
CSSUnitValue
CSSUnit
Value
external
class
CSSUnitValue
(
value
:
Double
,
unit
:
String
)
:
CSSNumericValue
(
source
)
MDN Reference
Members
Constructors
CSSUnit
Value
Link copied to clipboard
constructor
(
value
:
Double
,
unit
:
String
)
Properties
unit
Link copied to clipboard
val
unit
:
String
MDN Reference
value
Link copied to clipboard
var
value
:
Double
MDN Reference
Functions
add
Link copied to clipboard
fun
add
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
div
Link copied to clipboard
fun
div
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
equals
Link copied to clipboard
fun
equals
(
vararg
value
:
CSSNumberish
)
:
Boolean
MDN Reference
max
Link copied to clipboard
fun
max
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
min
Link copied to clipboard
fun
min
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
mul
Link copied to clipboard
fun
mul
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
sub
Link copied to clipboard
fun
sub
(
vararg
values
:
CSSNumberish
)
:
CSSNumericValue
MDN Reference
to
Link copied to clipboard
fun
to
(
unit
:
String
)
:
CSSUnitValue
MDN Reference
to
Sum
Link copied to clipboard
fun
toSum
(
vararg
units
:
String
)
:
CSSMathSum
MDN Reference
type
Link copied to clipboard
fun
type
(
)
:
CSSNumericType
MDN Reference