File

projects/components/widgets/input/slider/src/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
Type : string

Class of the widget.

datavalue
Type : number

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

disabled
Type : boolean

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

Bindable: true

hint
Type : string

Hint text is shown for the button widget on hover.

Bindable: true

maxvalue
Type : number

Bind or enter a maximum value to the slider

Bindable: true

minvalue
Type : number

Bind or enter a minimum value to the slider

Bindable: true

name
Type : string

Name of the slider widget.

readonly
Type : boolean
Default value : false

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

Bindable: true

shortcutkey
Type : string

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

show
Type : boolean
Default value : true

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

Bindable: true

step
Type : number

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

tabindex
Type : number
Default value : 0

This property specifies the tab order of the slider Widget.

results matching ""

    No results matching ""