File

projects/mobile/components/src/widgets/segmented-control/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

Class of the widget.

Type : string

name

Name of the Segmented control.

Type : string

show

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

Bindable: true

Type : boolean

Default value : true

result-matching ""

    No results matching ""