projects/components/widgets/basic/default/src/label/label.directive.doc.ts
The wmLabel
directive defines the label widget.
Methods |
Inputs |
onClick | ||||||||||||
onClick($event: MouseEvent, widget: any)
|
||||||||||||
Callback function which will be triggered when the widget is clicked.
Parameters :
Returns :
void
|
onDblclick | ||||||||||||
onDblclick($event: MouseEvent, widget: any)
|
||||||||||||
Callback function which will be triggered when the widget is double clicked.
Parameters :
Returns :
void
|
onDoubletap | ||||||||||||
onDoubletap($event: TouchEvent, widget: any)
|
||||||||||||
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)
|
||||||||||||
Callback function which will be triggered when the mouse enters the widget.
Parameters :
Returns :
void
|
onMouseleave | ||||||||||||
onMouseleave($event: MouseEvent, widget: any)
|
||||||||||||
Callback function which will be triggered when the mouse leaves the widget.
Parameters :
Returns :
void
|
onTap | ||||||||||||
onTap($event: TouchEvent, widget: any)
|
||||||||||||
Callback function which will be triggered when the tap event is triggered on a widget.
Parameters :
Returns :
void
|
caption |
Type : string
|
This property specifies the label of the Label widget. Bindable: |
conditionalclass |
Type : string
|
This property allows user to bind expression to class property. Bindable: |
hint |
Type : string
|
Hint text is shown for the label widget on hover. Bindable: |
name |
Type : string
|
Name of the label widget. |
required |
Type : boolean
|
Default value : false
|
This property allows the label to add a required field when used within wm.LiveForm. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the label widget on the web page. Bindable: |