projects/components/widgets/data/card/src/card.component.doc.ts
The wmCard component defines the card widget.
Methods |
Inputs |
| onClick | ||||||||||||||||||||
onClick($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the widget is clicked.
Parameters :
Returns :
void
|
| onDblclick | ||||||||||||||||||||
onDblclick($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the widget is double clicked.
Parameters :
Returns :
void
|
| onDoubletap | ||||||||||||||||||||
onDoubletap($event: TouchEvent, widget: any, item: unknown, currentItemWidgets: unknown)
|
||||||||||||||||||||
|
Callback function which will be triggered when the double tap event is triggered on a widget.
Parameters :
Returns :
void
|
| onMouseenter | ||||||||||||||||||||
onMouseenter($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the mouse enters the widget.
Parameters :
Returns :
void
|
| onMouseleave | ||||||||||||||||||||
onMouseleave($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the mouse leaves the widget.
Parameters :
Returns :
void
|
| onMouseout | ||||||||||||||||||||
onMouseout($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the mouse moves away from the card.
Parameters :
Returns :
void
|
| onMouseover | ||||||||||||||||||||
onMouseover($event: MouseEvent, widget: any, item: any, currentItemWidgets: any)
|
||||||||||||||||||||
|
Callback function which will be triggered when the mouse moves over the card.
Parameters :
Returns :
void
|
| onTap | ||||||||||||||||||||
onTap($event: TouchEvent, widget: any, item: unknown, currentItemWidgets: unknown)
|
||||||||||||||||||||
|
Callback function which will be triggered when the tap event is triggered on a widget.
Parameters :
Returns :
void
|
| actions |
Type : string
|
|
This property sets the the data and events action for the widget. Bindable: |
| class |
Type : string
|
|
Class of the widget. |
| iconclass |
Type : string
|
|
CSS class of the icon. Bindable: |
| iconurl |
Type : string
|
|
url of the icon. Bindable: |
| imageheight |
Type : string
|
Default value : '200px'
|
|
height of the image. |
| itemaction |
Type : string
|
|
This property specifies the item action for dynamically generated menu items. Bindable: |
| itemchildren |
Type : string
|
|
This property is to add sub menu items. Bindable: |
| itemicon |
Type : string
|
|
This property specifies icon for dynamically generated menu items. Bindable: |
| itemlabel |
Type : string
|
|
This property specifies label for dynamically generated menu items. Bindable: |
| itemlink |
Type : string
|
|
This property specifies link for dynamically generated menu items Bindable: |
| name |
Type : string
|
|
Name of the card widget. |
| picturesource |
Type : string
|
|
picturesource of the card widget. Bindable: |
| picturetitle |
Type : string
|
|
Picturetitle of the card widget. Bindable: |
| show |
Type : boolean
|
Default value : true
|
|
This property will be used to show/hide the Card widget on the web page. Bindable: |
| subheading |
Type : string
|
|
Sub Heading of the card widget. Bindable: |
| title |
Type : string
|
|
Title of the card widget. Bindable: |
| userrole |
Type : string
|
|
This property specifies the role for dynamically generated menu items. Bindable: |