Name |
Desciption |
Align buttons | Defines the alignment of Play and Stop buttons, along the main axis(horizontal). |
Background-color | Change the background color of the widget. |
Button background | Sets the background color of the Play and Stop buttons. |
Button Height | Sets the heights of the Play and Stop buttons. |
Button left/right spacing | Sets the left and right padding of the Play and Stop buttons within the Sound widget. |
Button radius | Add rounded corners to the Play and Stop buttons. |
Button top/bottom spacing | Sets the top and bottom padding of the Play and Stop buttons within the Sound widget. |
Button Width | Sets the width of the Play and Stop buttons. |
Color | Color of the text inside the widgets. May not apply to all text inside all widgets. |
Font Size | Set the font size in pixels for text. |
Text-alignment | Set left, centered or right. Applies both to icon and text. |
blur
(
)
It triggers the blur event of the widget.
focus
(
)
It triggers the focus event of the widget.
get(name)
(
)
Returns the value of specified property. ‘name’ is a string and it refers to the property name.
set(name, value)
(
)
Sets the value of specified property. ‘name’ is a string and it refers to property name and ‘value’ is a string and it refers to new value.
hide()
(
)
Hides the widget.
show()
(
)
Shows the widget.
getId()
(
)
Returns the Id of the widget.
getValue()
(
)
Returns value set by setValue().
setValue(value)
(
)
Sets the values of the widget. Does nothing to the audio.
isEnabled()
(
)
Returns true if widget is enabled.
isHidden()
(
)
Returns true if the widget is hidden.
setEnabled()
(
)
Enables/disables the widget.’Enabled’ is boolean and if it's true then the widget is enabled and disabled if false.
setStyle(Object)
(
)
Sets the widget style. It will override the styling applied to the widget.
play()
(
)
It plays the audio or unpauses the audio.
pause()
(
)
It pauses the audio.
stop()
(
)
It stops the audio and resets the audio to 00:00.
scrollTo(value)
(
)
A new addon which helps to make the element visible by scrolling the view to that specific widget.