projects/components/widgets/basic/default/src/picture/picture.directive.doc.ts
The wmPicture
directive defines the Picture 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
|
class |
Type : string
|
Class of the widget. |
conditionalclass |
Type : string
|
This property allows user to bind expression to class property. Bindable: |
encodeurl |
Type : boolean
|
Default value : false
|
This property will be used to encode the provided URL at run time. |
hint |
Type : string
|
Hint text is shown for the Picture widget on hover. Bindable: |
name |
Type : string
|
Name of the Picture widget. |
pictureaspect |
Type : any
|
This property can automatically size an image to the height or width of the picture widget. Bindable: |
pictureplaceholder |
Type : any
|
This property specifies the placeholder source for the picture when picturesource is not defined. Bindable: |
picturesource |
Type : any
|
This property specifies the source for the picture. |
shape |
Type : any
|
Shape of the Picture widget. Allowed Values:
|
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the picture widget on the web page. Bindable: |
tabindex |
Type : number
|
Default value : 0
|
This property specifies the tab order of the Picture Widget. |