<dy-card>

Cards are flexible containers that group related content and actions. They can contain various types of content including text, images, and controls, making them versatile building blocks for organizing information.

Example

API

DuoyunCardElement

Shadow DOM; Extends DuoyunLoadableBaseElement

DuoyunCardElement Instance Properties

Property(Attribute) Reactive Type
avatar(avatar) Yes string
preview(preview) Yes string
header(header) Yes StringList<'slot'>
detail(detail) Yes string
detailRight(detail-right) Yes string
actions Yes ActionItem[]
crossorigin(crossorigin) Yes 'anonymous' | 'use-credentials'

DuoyunCardElement Other

Type Value
Slot header, detail, detail-right, body, unnamed, footer
Part preview, avatar

DuoyunLoadableBaseElement

Shadow DOM; Extends GemElement

DuoyunLoadableBaseElement Instance Properties

Property(Attribute) Reactive Type
loading(loading) Yes boolean