Card
<k-card>
The Card component is a very flexible tool to display an image together with a title (text) some meta information (info) and a dropdown with options.
Example
Props
flag
Object (default: null)
An additional button left next to the options toggle,
which can be used to define any additional "flag" or option for the card.
icon
String (default: null)
Defines the card icon instead of an image. If an image is still defined,
the image will be used instead of the icon and this setting will be ignored.
image
Object (default: null)
Defines the card image
info
String (default: null)
Sets the secondary info text
link
String (default: null)
Sets the link for the entire card
options
Array
|Function (default: null)
Defines the options dropdown.
target
String (default: null)
Sets the link target
text
String (default null)
Sets the primary card text
Slots
options
You can overwrite the options button and dropdown with your own elements:
Events
action
If you've defined the options dropdown, each click on a dropdown item will emmit the action
event.
CSS class
.k-card