File

projects/components/src/widgets/common/slider/slider.component.doc.ts

Description

The wmSlider component defines the slider widget.

Index

Methods
Inputs

Methods

onChange
onChange($event: MouseEvent, widget: any, newVal: number, oldVal: number)

Callback function which will be triggered when the widget is clicked or when datavalue has changed.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the slider widget

newVal number No

datavalue of the slider widget

oldVal number No

previously selected datavalue of the slider widget

Returns : void

Inputs

class

Class of the widget.

Type : string

datavalue

This is the default value to display value for an editor widget. Note that the display value is just what the user sees initially, and is not always the dataValue returned by the widget.

Bindable: true

Type : number

disabled

This property will be used to disable/enable the slider widget on the web page.

Bindable: true

Type : boolean

hint

Hint text is shown for the button widget on hover.

Bindable: true

Type : string

maxvalue

Bind or enter a maximum value to the slider

Bindable: true

Type : number

minvalue

Bind or enter a minimum value to the slider

Bindable: true

Type : number

name

Name of the slider widget.

Type : string

readonly

This property will be used to make the rich-text-editor widget non-editable on the web page.

Bindable: true

Type : boolean

Default value : false

shortcutkey

The shortcut key property specifies a shortcut key to activate/focus an element.

Type : string

show

This property will be used to show/hide the slider widget on the web page.

Bindable: true

Type : boolean

Default value : true

step

Use the stepper to increment/decrement the input value by the specified step interval.

Type : number

tabindex

This property specifies the tab order of the slider Widget.

Type : number

Default value : 0

result-matching ""

    No results matching ""