File

projects/components/widgets/page/top-nav/src/top-nav.component.doc.ts

Description

The 'wmTopNav' directive defines a top nav in the layout.

Index

Methods
Inputs

Methods

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

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

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered on pinchdown event of the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered on pinchin event of the widget.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered when the widget is swiped down.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered when the widget is swiped left.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered when the widget is swiped right.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

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

Callback function which will be triggered when the widget is swiped up.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the top nav widget

Returns : void

Inputs

class
Type : string

Class of the widget.

content
Type : string

Html or Partial content of the widget.

Allowed Values: Inline Content, Top Nav, Partials

name
Type : string

Name of the top nav widget.

results matching ""

    No results matching ""