Name | Type | Default | Description |
ContentHandler | object | N/A | A callback function, used to add event handlers and other custom logic related to the content inside the card element. |
DataSource | object | N/A | This object is used to populate card's template. Object keys represent the placeholders surrounded in braces ( e.g. {{proeprty}} ) inside the template of an item and their values are used to replace the bindings. |
Disabled | bool | false | Disables the interaction with the element. |
ItemTemplate | object | N/A | Sets custom card template. The template can be the ID of an HTMLTemplate element inside the DOM or it's reference. The content of the template may hold one or many property placeholders in format {{property}}. These placeholders will be replaced with the values of the corresponding properties defined in the dataSource object. When setting the property to template ID, the property type is 'string'. |
Locale | string | "en" | Sets or gets the language. Used in conjunction with the property messages. |
Messages | object | N/A | Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. |
RightToLeft | bool | false | Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. |
Theme | string | "" | Determines the theme. Theme defines the look of the element |
Unfocusable | bool | false | If is set to true, the element cannot be focused. |
Name | Type | Description | Event Detail |
OnSwipebottom | EventCallback<Event> | This event is triggered when the card is swiped bottom. | N/A |
Swipebottomed | event CardSwipebottomedEventHandler | This event is triggered when the card is swiped bottom. | CardSwipebottomedEventArgs |
OnSwipeleft | EventCallback<Event> | This event is triggered when the card is swiped left. | N/A |
SwipedLeft | event CardSwipedLeftEventHandler | This event is triggered when the card is swiped left. | CardSwipedLeftEventArgs |
OnSwiperight | EventCallback<Event> | This event is triggered when the card is swiped right. | N/A |
SwipeRight | event CardSwipeRightEventHandler | This event is triggered when the card is swiped right. | CardSwipeRightEventArgs |
OnSwipetop | EventCallback<Event> | This event is triggered when the card is swiped top. | N/A |
Swipetoped | event CardSwipetopedEventHandler | This event is triggered when the card is swiped top. | CardSwipetopedEventArgs |