kobweb
Toggle table of contents
0.21.1
js
Platform filter
js
Switch theme
Search in API
kobweb
compose-html-ext
/
com.varabyte.kobweb.compose.css.functions
/
CalcScope
Calc
Scope
sealed
interface
CalcScope
(
source
)
Members
Types
Calc
Num
Link copied to clipboard
class
CalcNum
<
T
:
Number
>
:
Number
An extension of
Number
which uses CSS's
calc()
function to represent operations.
Functions
div
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
div
(
num
:
Number
)
:
CSSNumericValue
<
T
>
minus
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
minus
(
b
:
CSSNumericValue
<
T
>
)
:
CSSNumericValue
<
T
>
num
Link copied to clipboard
open
fun
<
T
:
Number
>
num
(
num
:
T
)
:
CalcScope.CalcNum
<
T
>
plus
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
plus
(
b
:
CSSNumericValue
<
T
>
)
:
CSSNumericValue
<
T
>
times
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
Number
.
times
(
unit
:
CSSNumericValue
<
T
>
)
:
CSSNumericValue
<
T
>
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
times
(
b
:
Number
)
:
CSSNumericValue
<
T
>
unary
Minus
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
unaryMinus
(
)
:
CSSNumericValue
<
T
>
unary
Plus
Link copied to clipboard
open
operator
fun
<
T
:
CSSUnit
>
CSSNumericValue
<
T
>
.
unaryPlus
(
)
:
CSSNumericValue
<
T
>