File

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

Description

The 'wmRightPanel' directive defines a right panel in the layout. wmRightPanel 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 right 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 right 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 right 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 right 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 right 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 right 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 right panel widget

Returns : void

Inputs

class
Type : string

Class of the widget.

columnwidth
Type : number
Default value : 2

This property specifies the width of the widget inside wmContent widget. Adds class col-md-(x), to suit bootstrap fluid grid system 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, Right Panel, Partials

name
Type : string

Name of the right panel widget.

results matching ""

    No results matching ""