core
0.1.0
core
/
de.peekandpoke.kraft.addons.semanticui.components
/
CollapsableComponent
/
Builder
Builder
class
Builder
(
var
header
:
DIV
.
(
CollapsableComponent.HeaderCtx
)
->
Unit
?
=
null
,
var
content
:
RenderFn
=
{}
,
var
collapsed
:
Boolean
=
true
)
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Builder
Link copied to clipboard
fun
Builder
(
header
:
DIV
.
(
CollapsableComponent.HeaderCtx
)
->
Unit
?
=
null
,
content
:
RenderFn
=
{}
,
collapsed
:
Boolean
=
true
)
Content copied to clipboard
Functions
content
Link copied to clipboard
fun
content
(
block
:
RenderFn
)
Content copied to clipboard
header
Link copied to clipboard
fun
header
(
block
:
FlowContent
.
(
CollapsableComponent.HeaderCtx
)
->
Unit
)
Content copied to clipboard
Properties
collapsed
Link copied to clipboard
var
collapsed
:
Boolean
=
true
Content copied to clipboard
content
Link copied to clipboard
var
content
:
RenderFn
Content copied to clipboard
header
Link copied to clipboard
var
header
:
DIV
.
(
CollapsableComponent.HeaderCtx
)
->
Unit
?
=
null
Content copied to clipboard