File

projects/components/widgets/containers/tile/src/tile.directive.doc.ts

Description

The wmTile directive defines the tile widget.

Index

Methods
Inputs

Methods

onClick
onClick($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget is clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onDblclick
onDblclick($event: MouseEvent, widget: any)

Callback function which will be triggered when the widget is double clicked.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

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 :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onMouseenter
onMouseenter($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse enters the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onMouseleave
onMouseleave($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse leaves the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onMouseout
onMouseout($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse moves away from this widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onMouseover
onMouseover($event: MouseEvent, widget: any)

Callback function which will be triggered when the mouse hovers over the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onPinchin
onPinchin($event: TouchEvent, widget: any)

Callback function which will be triggered when a pinchin event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onPinchout
onPinchout($event: TouchEvent, widget: any)

Callback function which will be triggered when a pinchout event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onSwipedown
onSwipedown($event: TouchEvent, widget: any)

Callback function which will be triggered when a swipedown event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onSwipeleft
onSwipeleft($event: TouchEvent, widget: any)

Callback function which will be triggered when a swipeleft event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onSwiperight
onSwiperight($event: TouchEvent, widget: any)

Callback function which will be triggered when a swiperight event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onSwipeup
onSwipeup($event: TouchEvent, widget: any)

Callback function which will be triggered when a swipeup event is triggered.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void
onTap
onTap($event: TouchEvent, widget: any)

Callback function which will be triggered when the tap event is triggered on a widget.

Parameters :
Name Type Optional Description
$event TouchEvent No

DOM event on which call back is triggered

widget any No

Instance of the tile widget

Returns : void

Inputs

class
Type : string
Default value : 'bg-primary'

Class of the widget.

conditionalclass
Type : string

This property allows user to bind expression to class property.

Bindable: true

horizontalalign
Type : string

This property specifies how the elements should be aligned horizontally.

Allowed Values: left, center, right

left: Aligns an element to the left.

center: Aligns an element to the center.

right: Aligns an element to the right.

name
Type : string

Name of the tile widget.

show
Type : boolean
Default value : true

This property will be used to show/hide the tile widget on the web page.

Bindable: true

results matching ""

    No results matching ""