Functions
custom
"50%" or "clamp(14px, 4vw, 18px)".
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kotlin Object
companion object
| Function | Description |
|---|---|
custom | Any CSS length value, for example "50%" or "clamp(14px, 4vw, 18px)". |
em | A length relative to the font size of the parent element. |
px | A length in CSS pixels. |
rem | A length relative to the font size of the root element. |
fun custom(css: String): CheckoutLength
"50%" or "clamp(14px, 4vw, 18px)".
fun em(value: Double): CheckoutLength
fun em(value: Int): CheckoutLength
fun px(value: Double): CheckoutLength
fun px(value: Int): CheckoutLength
fun rem(value: Double): CheckoutLength
fun rem(value: Int): CheckoutLength
Was this page helpful?
