Description
A card is a "box" around some content with a border, padding and margins that make it stand out.
Basic Usage
<k-card>
This is a card
</k-card>
Labels
A label gives some text in a box on the top border of the card, helping identify the purpose of the contents.
<k-card label="I'm a Label">
This is a card
</k-card>
JavaScript Reference
Constructor
Extends ShadowComponent
new Card()
new Card(string label)
Parameters
label: string
The label for the card.
Requirements
Properties
label: string
The label for the card. Syncs with the label attribute.
Methods
setLabel(string label): void
Sets the label for the card.