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
/
GridTrackBuilder
Grid
Track
Builder
class
GridTrackBuilder
:
GridTrackBuilderInRepeat
(
source
)
A builder for simplifying the creation of grid track lists.
Members
Constructors
Grid
Track
Builder
Link copied to clipboard
constructor
(
)
Properties
auto
Link copied to clipboard
val
auto
:
GridEntry.TrackSize.Inflexible
auto
Fill
Link copied to clipboard
val
autoFill
:
GridEntry.Repeat.Auto.Type
auto
Fit
Link copied to clipboard
val
autoFit
:
GridEntry.Repeat.Auto.Type
max
Content
Link copied to clipboard
val
maxContent
:
GridEntry.TrackSize.Inflexible
min
Content
Link copied to clipboard
val
minContent
:
GridEntry.TrackSize.Inflexible
Functions
fit
Content
Link copied to clipboard
fun
fitContent
(
value
:
CSSLengthOrPercentageNumericValue
)
line
Names
Link copied to clipboard
fun
lineNames
(
vararg
names
:
String
)
minmax
Link copied to clipboard
fun
minmax
(
min
:
GridEntry.TrackSize.Fixed
,
max
:
GridEntry.TrackSize
)
fun
minmax
(
min
:
GridEntry.TrackSize.Inflexible
,
max
:
GridEntry.TrackSize
)
fun
minmax
(
min
:
GridEntry.TrackSize.Inflexible
,
max
:
CSSFlexNumericValue
)
fun
minmax
(
min
:
GridEntry.TrackSize.Inflexible
,
max
:
CSSLengthOrPercentageNumericValue
)
fun
minmax
(
min
:
CSSLengthOrPercentageNumericValue
,
max
:
GridEntry.TrackSize
)
fun
minmax
(
min
:
CSSLengthOrPercentageNumericValue
,
max
:
CSSFlexNumericValue
)
fun
minmax
(
min
:
CSSLengthOrPercentageNumericValue
,
max
:
CSSLengthOrPercentageNumericValue
)
repeat
Link copied to clipboard
fun
repeat
(
type
:
GridEntry.Repeat.Auto.Type
,
block
:
GridTrackBuilderInRepeat
.
(
)
->
Unit
)
fun
repeat
(
count
:
Int
,
block
:
GridTrackBuilderInRepeat
.
(
)
->
Unit
)
size
Link copied to clipboard
fun
size
(
track
:
GridEntry.TrackSize
)
fun
size
(
value
:
CSSFlexNumericValue
)
fun
size
(
value
:
CSSLengthOrPercentageNumericValue
)