/ui/elements/card
- Source
Methods
(inner) card(params) → {HTMLElement}
The card element method creates a drawer class card which can be closed but not collapsed to the header.
The element is assigned as card property to the params.
Parameters:
PropertiesName | Type | Description |
---|---|---|
params | Object | Params for the card element. |
Name | Type | Attributes | Description |
---|---|---|---|
params.close | function | <optional> | Callback method to execute when a card element is closed. |
- Source
Returns:
card element.
- Type:
- HTMLElement