Card

open class Card(className: String? = null, init: Card.() -> Unit? = null)

A card component.

Parameters

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(className: String? = null, init: Card.() -> Unit? = null)

Creates a card component.

Properties

Link copied to clipboard

A modifier attribute to specify custom styles.

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun content(content: String? = null, rich: Boolean = false, builder: <Error class: unknown class>.() -> Unit? = null): <Error class: unknown class>

DSL builder function to add content section of the card.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
open fun title(content: String? = null, rich: Boolean = false, builder: <Error class: unknown class>.() -> Unit? = null): <Error class: unknown class>

DSL builder function to add title section of the card.