====== behavior: slider ====== Implementation of the slider input element. {{ h-smile:built-in-behaviors:slider.png }} ===== Elements ===== that have this behavior applied by default: * '''' - horizontal slider, inline block; * '''' - horizontal slider, block; * '''' - vertical slider, inline block; * '''' - vertical slider, block; ===== Attributes ===== that this behavior knows about: * ''value'' - integer, intital value. * ''min'' - integer, minmum value. * ''max'' - integer, maximum value. * ''step'' - integer, optional (default=1), step value. * ''buddy'' - string, id of buddy element that recives string representation of the value when value is changed. ===== Events ===== * BUTTON_STATE_CHANGED event - value has changed by the user. * BUTTON_CLICK event - the user has finished selection (e.g. on MOUSE_UP). ===== Value ===== type json::value::V_INT, reflects current value of the slider.