File

projects/components/widgets/page/left-panel/src/left-panel.component.doc.ts

Description

The 'wmLeftPanel' directive defines a left panel in the layout. wmLeftPanel is internally used by wmContent.

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 left panel widget

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

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

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the left panel 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 left panel 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 left panel 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 left panel 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 left panel 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 left panel widget

Returns : void

Inputs

class
Type : string

Class of the widget.

columnwidth
Type : number
Default value : 2

This property specifies how much width should occupy by the widget in side wmContent widget. Adds class col-md-(x), to suit bootstrap fluid grid system

Allowed Values: Integer(x); (1 <= x <= 12)

content
Type : string

Html or Partial content of the widget.

Allowed Values: Inline Content, Left Panel, Partials

gestures
Type : string
Default value : 'on'

This property specifies to enable/disable the gestures on the widget.

name
Type : string

Name of the left panel widget.

results matching ""

    No results matching ""