card
This factory function creates a CardComponent.
Usage example:
card {
size { small }
type { normal }
paperType { normal }
header("Header")
content("Lorem ipsum, dolor sit amet...")
footer("Footer")
}Have a look at CardComponent for the full explanation and additional examples.
Parameters
styling
a lambda expression for declaring the styling of the underlying PaperComponent using fritz2's styling DSL
baseClass
optional CSS class that should be applied to the underlying PaperComponent
id
the ID of the underlying PaperComponent
prefix
the prefix for the generated CSS class of the underlying PaperComponent resulting in the form `$prefix-$hash`
build
a lambda expression for setting up the underlying PaperComponent