File

projects/mobile/components/containers/segmented-control/src/segmented-control.component.doc.ts

Description

The wmSegmentedControl directive defines the segmented control widget.

Index

Methods
Inputs

Methods

onBeforesegmentchange
onBeforesegmentchange(widget: any, $old: number, $new: number)

Callback function which will be triggered when the widget value is changed.

Parameters :
Name Type Optional Description
widget any No

Instance of the segmented control widget

$old number No

Previous selected index

$new number No

Current selected index

Returns : void
onSegmentchange
onSegmentchange(widget: any, $old: number, $new: number)

Callback function which will be triggered when the widget value is changed.

Parameters :
Name Type Optional Description
widget any No

Instance of the segmented control widget

$old number No

Previous selected index

$new number No

Current selected index

Returns : void

Inputs

class
Type : string

Class of the widget.

name
Type : string

Name of the Segmented control.

show
Type : boolean
Default value : true

This property will be used to show/hide the segmented control widget.

Bindable: true

results matching ""

    No results matching ""