goog.Disposable | |
goog.events.EventTarget | goog.Disposable |
goog.ui.Component | goog.events.EventTarget |
goog.ui.SliderBase | goog.ui.Component |
goog.ui.Slider | goog.ui.SliderBase |
goog.ui.TwoThumbSlider | goog.ui.SliderBase |
opt_domHelper
: goog.dom.DomHelper=
Optional DOM helper.
|
opt_labelFn
: (function(number):?string)=
An optional function mapping
slider values to a description of the value.
|
![]()
Adds animations for the range highlight element to the animation queue.
Arguments:
|
code » | ||||||
![]()
Sets the value and starts animating the handle towards that position.
Arguments:
|
code » | ||||||
![]()
Calculates the start position (offset) and size of the range highlight, e.g.
for a horizontal slider, this will return [left, width] for the highlight.
Arguments:
Returns: {offset: number, size: number
} The positioning parameters for the
range highlight.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
Subclasses must implement this method and set the valueThumb and
extentThumb to non-null values. They can also set the rangeHighlight
element if a range highlight is desired.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
![]()
Attaches/Detaches the event handlers on the slider.
Arguments:
|
code » | ||||||
![]()
Enables/disables true RTL behavior. This should be called immediately after
construction. This is a temporary flag to allow clients to transition
to the new behavior at their convenience. At some point it will be the
default.
Arguments:
|
code » | ||||||
![]()
Enable/Disable mouse wheel handling.
Arguments:
|
code » | ||||||
![]()
Sets the isAnimating_ field to false once the animation is done.
Arguments:
|
code » | ||||||
![]()
Called when the DOM for the component is for sure in the document.
Subclasses should override this method to set this element's role.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
No description.
Returns: number
The amount to increment/decrement for page up/down as well
as when holding down the mouse button on the background.
|
code » | ||||||
![]()
No description.
Arguments:
Returns: HTMLDivElement
The thumb that is closest to the given position.
|
code » | ||||||
Returns the CSS class applied to the slider element for the given
orientation. Subclasses must override this method.
Arguments:
Returns: string
The CSS class applied to slider elements.
|
code » | ||||||
No description.
Returns: number
The value of the extent of the underlying range model.
|
code » | ||||||
![]()
No description.
Returns: HTMLDivElement
The extent thumb element.
|
code » | ||||||
No description.
Returns: number
The maximum value.
|
code » | ||||||
No description.
Returns: number
The minimum value.
|
code » | ||||||
No description.
Returns: boolean
Whether clicking on the backgtround should move directly to
that point.
|
code » | ||||||
No description.
|
code » | ||||||
![]()
No description.
Returns: goog.ui.SliderBase.Orientation
the orientation of the slider.
|
code » | ||||||
Returns the relative mouse position to the slider.
Arguments:
Returns: number
The relative mouse position to the slider.
|
code » | ||||||
No description.
Returns: ?number
The step value used to determine how to round the value.
|
code » | ||||||
No description.
Returns: ?string
The text value for the slider's current value, or null if
unavailable.
|
code » | ||||||
Returns the position to move the handle to for a given value
Arguments:
Returns: !goog.math.Coordinate
Coordinate with either x or y set.
|
code » | ||||||
![]()
Since 25-June-2012. Use public method getThumbCoordinateForValue.
No description.
|
code » | ||||||
No description.
Arguments:
Returns: number
The position of the specified thumb.
|
code » | ||||||
No description.
Returns: number
The amount to increment/decrement for up, down, left and
right arrow keys and mouse wheel events.
|
code » | ||||||
No description.
Returns: number
The value of the underlying range model.
|
code » | ||||||
Returns the value to use for the current mouse position
Arguments:
Returns: number
The value that this mouse position represents.
|
code » | ||||||
![]()
Since 25-June-2012. Use public method getValueFromMousePosition.
No description.
|
code » | ||||||
![]()
No description.
Returns: HTMLDivElement
The value thumb element.
|
code » | ||||||
![]()
Handler for the before drag event. We use the event properties to determine
the new value.
Arguments:
|
code » | ||||||
![]()
Event handler for the key down event. This is used to update the value
based on the key pressed.
Arguments:
|
code » | ||||||
![]()
Handler for the mouse down event and click event.
Arguments:
|
code » | ||||||
![]()
Handler for the mouse wheel event.
Arguments:
|
code » | ||||||
![]()
Call back when the internal range model changes. Sub-classes may override
and re-enter this method to update a11y state. Consider protected.
Arguments:
|
code » | ||||||
![]()
Handler for the start/end drag event on the thumgs. Adds/removes
the "-dragging" CSS classes on the slider and thumb.
Arguments:
|
code » | ||||||
![]()
Handler for the tick event dispatched by the timer used to update the value
in a block increment. This is also called directly from
startBlockIncrementing_.
|
code » | ||||||
No description.
Returns: boolean
True if the slider is animating, false otherwise.
|
code » | ||||||
Returns whether a thumb is currently being dragged with the mouse (or via
touch). Note that changing the value with keyboard, mouswheel, or via
move-to-point click immediately sends a CHANGE event without going through a
dragged state.
Returns: boolean
Whether a dragger is currently being dragged.
|
code » | ||||||
No description.
Returns: boolean
Whether the slider is enabled or not.
|
code » | ||||||
No description.
Returns: boolean
Whether the slider handles mousewheel.
|
code » | ||||||
![]()
A function mapping slider values to text description.
|
code » | ||||||
![]()
Moves the thumbs by the specified delta as follows
- as long as both thumbs stay within [min,max], both thumbs are moved
- once a thumb reaches or exceeds min (or max, respectively), it stays
- at min (or max, respectively).
In case both thumbs have reached min (or max), no change event will fire.
If the specified delta is smaller than the step size, it will be rounded
to the step size.
Arguments:
|
code » | ||||||
![]()
Sets the factory that will be used to create additional animations to be
played when animating to a new value. These animations can be for any
element and the animations will be played in addition to the default
animation(s). The animations will also be played in the same parallel queue
ensuring that all animations are played at the same time.
Arguments:
|
code » | ||||||
![]()
Set a11y roles and state.
|
code » | ||||||
![]()
Sets the amount to increment/decrement for page up/down as well as when
holding down the mouse button on the background.
Arguments:
|
code » | ||||||
![]()
Enables or disables the slider. A disabled slider will ignore all
user-initiated events. Also fires goog.ui.Component.EventType.ENABLE/DISABLE
event as appropriate.
Arguments:
|
code » | ||||||
![]()
Sets the extent of the underlying range model. We enforce that
getMinExtent() <= extent <= getMaximum() - getValue()
If this is not satisifed for the given extent, the call is ignored and no
CHANGE event fires.
Arguments:
|
code » | ||||||
![]()
Enables or disables mouse wheel handling for the slider. The mouse wheel
handler enables the user to change the value of slider using a mouse wheel.
Arguments:
|
code » | ||||||
![]()
Sets the maximum number.
Arguments:
|
code » | ||||||
![]()
Sets the minimal value that the extent may have.
Arguments:
|
code » | ||||||
![]()
Sets the minimum number.
Arguments:
|
code » | ||||||
![]()
Sets whether clicking on the background should move directly to that point.
Arguments:
|
code » | ||||||
![]()
Changes the orientation.
Arguments:
|
code » | ||||||
![]()
Sets the step value. The step value is used to determine how to round the
value.
Arguments:
|
code » | ||||||
![]()
Sets the position of the given thumb. The set is ignored and no CHANGE event
fires if it violates the constraint minimum <= value (valueThumb position) <=
value + extent (extentThumb position) <= maximum.
Note: To keep things simple, the setThumbPosition_ function does not have the
side-effect of "correcting" value or extent to fit the above constraint as it
is the case in the underlying range model. Instead, we simply ignore the
call. Callers must make these adjustements explicitly if they wish.
|
code » | ||||||
![]()
Sets the amount to increment/decrement for up, down, left and right arrow
keys and mouse wheel events.
Arguments:
|
code » | ||||||
![]()
Sets the value of the underlying range model. We enforce that
getMinimum() <= value <= getMaximum() - getExtent()
If this is not satisifed for the given value, the call is ignored and no
CHANGE event fires.
Arguments:
|
code » | ||||||
![]()
Sets the value and extent of the underlying range model. We enforce that
getMinimum() <= value <= getMaximum() - extent and
getMinExtent <= extent <= getMaximum() - getValue()
If this is not satisfied for the given extent, the call is ignored and no
CHANGE event fires. This is a utility method to allow setting the thumbs
simultaneously and ensuring that only one event fires.
|
code » | ||||||
![]()
Change the visibility of the slider.
You must call this if you had set the slider's value when it was invisible.
Arguments:
|
code » | ||||||
![]()
Starts the animation that causes the thumb to increment/decrement by the
block increment when the user presses down on the background.
Arguments:
|
code » | ||||||
![]()
Stops the block incrementing animation and unlistens the necessary
event handlers.
|
code » | ||||||
![]()
Stores the current mouse position so that it can be used in the timer.
Arguments:
|
code » | ||||||
![]()
Set a11y roles and state when values change.
|
code » | ||||||
![]()
This is called when we need to update the size of the thumb. This happens
when first created as well as when the value and the orientation changes.
|
code » |
![]()
Adds the specified component as the last child of this component. See
goog.ui.Component#addChildAt for detailed semantics.
Arguments:
|
code » | ||||
![]()
Adds the specified component as a child of this component at the given
0-based index.
Both
addChild and addChildAt assume the following contract
between parent and child components:
parent.addChild(child) will throw an error if the
child component is already in the document, but the parent isn't.
Clients of this API may call addChild and addChildAt with
opt_render set to true. If opt_render is true, calling these
methods will automatically render the child component's element into the
parent component's element. If the parent does not yet have an element, then
createDom will automatically be invoked on the parent before
rendering the child.
Invoking parent.addChild(child, true) will throw an error if the
child component is already in the document, regardless of the parent's DOM
state.
If opt_render is true and the parent component is not already
in the document, enterDocument will not be called on this component
at this point.
Finally, this method also throws an error if the new child already has a
different parent, or the given index is out of bounds.
Arguments:
Returns: void
Nada.
|
code » | ||||
Determines if a given element can be decorated by this type of component.
This method should be overridden by inheriting objects.
|
code » | ||||
![]()
Creates the initial DOM representation for the component. The default
implementation is to set this.element_ = div.
|
code » | ||||
![]()
Decorates the element for the UI component. If the element is in the
document, the enterDocument method will be called.
If goog.ui.Component.ALLOW_DETACHED_DECORATION is false, the caller must
pass an element that is in the document.
Arguments:
|
code » | ||||
![]()
Actually decorates the element. Should be overridden by inheriting objects.
This method can assume there are checks to ensure the component has not
already been rendered have occurred and that enter document will be called
afterwards. This method is considered protected.
Arguments:
|
code » | ||||
![]()
Disposes of the component. Calls
exitDocument , which is expected to
remove event handlers and clean up the component. Propagates the call to
the component's children, if any. Removes the component's DOM from the
document unless it was decorated.
|
code » | ||||
![]()
Called when the component's element is known to be in the document. Anything
using document.getElementById etc. should be done at this stage.
If the component contains child components, this call is propagated to its
children.
|
code » | ||||
![]()
Called by dispose to clean up the elements and listeners created by a
component, or by a parent component/application who has removed the
component from the document but wants to reuse it later.
If the component contains child components, this call is propagated to its
children.
It should be possible for the component to be rendered again once this method
has been called.
|
code » | ||||
![]()
Calls the given function on each of this component's children in order. If
opt_obj is provided, it will be used as the 'this' object in the
function when called. The function should take two arguments: the child
component and its 0-based index. The return value is ignored.
Arguments:
|
code » | ||||
Returns the child with the given ID, or null if no such child exists.
Arguments:
Returns: ?goog.ui.Component
The child with the given ID; null if none.
|
code » | ||||
Returns the child at the given index, or null if the index is out of bounds.
Arguments:
Returns: ?goog.ui.Component
The child at the given index; null if none.
|
code » | ||||
Returns the number of children of this component.
Returns: number
The number of children.
|
code » | ||||
Returns an array containing the IDs of the children of this component, or an
empty array if the component has no children.
|
code » | ||||
Returns the DOM element into which child components are to be rendered,
or null if the component itself hasn't been rendered yet. This default
implementation returns the component's root element. Subclasses with
complex DOM structures must override this method.
Returns: Element
Element to contain child elements (null if none).
|
code » | ||||
Returns the dom helper that is being used on this component.
Returns: !goog.dom.DomHelper
The dom helper used on this component.
|
code » | ||||
Gets the component's element.
Returns: Element
The element for the component.
|
code » | ||||
Returns the first element in this component's DOM with the provided
className.
|
code » | ||||
Helper function for returning an element in the document with a unique id
generated using makeId().
|
code » | ||||
Gets the component's element. This differs from getElement in that
it assumes that the element exists (i.e. the component has been
rendered/decorated) and will cause an assertion error otherwise (if
assertion is enabled).
Returns: !Element
The element for the component.
|
code » | ||||
![]()
Returns an array of all the elements in this component's DOM with the
provided className.
Arguments:
Returns: !goog.array.ArrayLike
The items found with the class name provided.
|
code » | ||||
Helper function for returning the fragment portion of an id generated using
makeId().
|
code » | ||||
Returns the event handler for this component, lazily created the first time
this method is called.
|
code » | ||||
Gets the unique ID for the instance of this component. If the instance
doesn't already have an ID, generates one on the fly.
Returns: string
Unique component ID.
|
code » | ||||
![]()
Returns the model associated with the UI component.
Returns: *
The model.
|
code » | ||||
Returns the component's parent, if any.
Returns: ?goog.ui.Component
The parent component.
|
code » | ||||
Similar to
getElementByClass except that it expects the
element to be present in the dom thus returning a required value. Otherwise,
will assert.
|
code » | ||||
Returns true if the component has children.
Returns: boolean
True if the component has children.
|
code » | ||||
Returns the 0-based index of the given child component, or -1 if no such
child is found.
Arguments:
Returns: number
0-based index of the child component; -1 if not found.
|
code » | ||||
Determines whether the component has been added to the document.
Returns: boolean
TRUE if rendered. Otherwise, FALSE.
|
code » | ||||
Returns true if the component is rendered right-to-left, false otherwise.
The first time this function is invoked, the right-to-left rendering property
is set if it has not been already.
Returns: boolean
Whether the control is rendered right-to-left.
|
code » | ||||
Helper function for subclasses that gets a unique id for a given fragment,
this can be used by components to generate unique string ids for DOM
elements.
|
code » | ||||
Makes a collection of ids. This is a convenience method for makeId. The
object's values are the id fragments and the new values are the generated
ids. The key will remain the same.
|
code » | ||||
Removes the given child from this component, and returns it. Throws an error
if the argument is invalid or if the specified child isn't found in the
parent component. The argument can either be a string (interpreted as the
ID of the child component to remove) or the child component itself.
If
opt_unrender is true, calls goog.ui.component#exitDocument
on the removed child, and subsequently detaches the child's DOM from the
document. Otherwise it is the caller's responsibility to clean up the child
component's DOM.
Arguments:
Returns: goog.ui.Component
The removed component, if any.
|
code » | ||||
Removes the child at the given index from this component, and returns it.
Throws an error if the argument is out of bounds, or if the specified child
isn't found in the parent. See
goog.ui.Component#removeChild for
detailed semantics.
Arguments:
Returns: goog.ui.Component
The removed component, if any.
|
code » | ||||
Removes every child component attached to this one and returns them.
Arguments:
|
code » | ||||
![]()
Renders the component. If a parent element is supplied, the component's
element will be appended to it. If there is no optional parent element and
the element doesn't have a parentNode then it will be appended to the
document body.
If this component has a parent component, and the parent component is
not in the document already, then this will not call
enterDocument
on this component.
Throws an Error if the component is already rendered.
Arguments:
|
code » | ||||
![]()
Renders the component before another element. The other element should be in
the document already.
Throws an Error if the component is already rendered.
Arguments:
|
code » | ||||
![]()
Renders the component. If a parent element is supplied, the component's
element will be appended to it. If there is no optional parent element and
the element doesn't have a parentNode then it will be appended to the
document body.
If this component has a parent component, and the parent component is
not in the document already, then this will not call
enterDocument
on this component.
Throws an Error if the component is already rendered.
Arguments:
|
code » | ||||
![]()
Sets the component's root element to the given element. Considered
protected and final.
This should generally only be called during createDom. Setting the element
does not actually change which element is rendered, only the element that is
associated with this UI component.
This should only be used by subclasses and its associated renderers.
Arguments:
|
code » | ||||
![]()
Assigns an ID to this component instance. It is the caller's responsibility
to guarantee that the ID is unique. If the component is a child of a parent
component, then the parent component's child index is updated to reflect the
new ID; this may throw an error if the parent already has a child with an ID
that conflicts with the new ID.
Arguments:
|
code » | ||||
![]()
Sets the model associated with the UI component.
Arguments:
|
code » | ||||
![]()
Sets the parent of this component to use for event bubbling. Throws an error
if the component already has a parent or if an attempt is made to add a
component to itself as a child. Callers must use
removeChild
or removeChildAt to remove components from their containers before
calling this method.
Arguments:
|
code » | ||||
![]()
Overrides
goog.events.EventTarget#setParentEventTarget to throw an
error if the parent component is set, and the argument is not the parent.
|
code » | ||||
![]()
Set is right-to-left. This function should be used if the component needs
to know the rendering direction during dom creation (i.e. before
#enterDocument is called and is right-to-left is set).
Arguments:
|
code » | ||||
No description.
Returns: boolean
Whether the component was decorated.
|
code » |
![]()
Use
#listen instead, when possible. Otherwise, use
goog.events.listen if you are passing Object
(instead of Function) as handler.
Adds an event listener to the event target. The same handler can only be
added once per the type. Even if you add the same handler multiple times
using the same type then it will only be called once when the event is
dispatched.
Arguments:
|
code » | |||||
![]()
Asserts that the event target instance is initialized properly.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
Removes listeners from this object. Classes that extend EventTarget may
need to override this method in order to remove references to DOM Elements
and additional listeners.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
Returns the parent of this event target to use for bubbling.
Returns: goog.events.EventTarget
The parent EventTarget or null if
there is no parent.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
Use
#unlisten instead, when possible. Otherwise, use
goog.events.unlisten if you are passing Object
(instead of Function) as handler.
Removes an event listener from the event target. The handler must be the
same object as the one added. If the handler has not been added then
nothing is done.
Arguments:
|
code » | |||||
![]()
Sets the parent of this event target to use for capture/bubble
mechanism.
Arguments:
|
code » | |||||
![]()
Sets the target to be used for
event.target when firing
event. Mainly used for testing. For example, see
goog.testing.events.mixinListenable .
Arguments:
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » |
![]()
Invokes a callback function when this object is disposed. Callbacks are
invoked in the order in which they were added.
Arguments:
|
code » | |||
![]()
Disposes of the object. If the object hasn't already been disposed of, calls
#disposeInternal . Classes that extend goog.Disposable should
override #disposeInternal in order to delete references to COM
objects, DOM nodes, and other disposable objects. Reentrant.
Returns: void
Nothing.
|
code » | |||
![]()
Deletes or nulls out any references to COM objects, DOM nodes, or other
disposable objects. Classes that extend
goog.Disposable should
override this method.
Not reentrant. To avoid calling it twice, it must only be called from the
subclass' disposeInternal method. Everywhere else the public
dispose method must be used.
For example:
mypackage.MyClass = function() { mypackage.MyClass.base(this, 'constructor'); // Constructor logic specific to MyClass. ... }; goog.inherits(mypackage.MyClass, goog.Disposable); mypackage.MyClass.prototype.disposeInternal = function() { // Dispose logic specific to MyClass. ... // Call superclass's disposeInternal at the end of the subclass's, like // in C++, to avoid hard-to-catch issues. mypackage.MyClass.base(this, 'disposeInternal'); }; |
code » | |||
Use
#isDisposed instead.
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
![]()
Associates a disposable object with this object so that they will be disposed
together.
Arguments:
|
code » |
![]()
The delay after mouseDownTime_ during which a click event is ignored.
|
Code » | |
The factory to use to generate additional animations when animating to a
new value.
|
Code » | |
![]()
The amount to increment/decrement for page up/down as well as when holding
down the mouse button on the background.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Whether the slider is enabled or not.
|
Code » | |
The Dragger for dragging the extentThumb.
|
Code » | |
![]()
The maxThumb dom-element, pointing to the end of the selected range.
|
Code » | |
![]()
Whether the slider implements the changes described in http://b/6324964,
making it truly RTL. This is a temporary flag to allow clients to transition
to the new behavior at their convenience. At some point it will be the
default.
|
Code » | |
![]()
If we are currently animating the thumb.
|
Code » | |
![]()
Whether the slider should handle mouse wheel events.
|
Code » | |
The object handling keyboard events.
|
Code » | |
![]()
The minimal extent. The class will ensure that the extent cannot shrink
to a value smaller than minExtent.
|
Code » | |
![]()
The time the last mousedown event was received.
|
Code » | |
The object handling mouse wheel events.
|
Code » | |
![]()
Whether clicking on the backgtround should move directly to that point.
|
Code » | |
![]()
Orientation of the slider.
|
Code » | |
![]()
The dom-element highlighting the selected range.
|
Code » | |
The underlying range model
|
Code » | |
![]()
The thumb that we should be moving (only relevant when timed move is active).
|
Code » | |
![]()
The amount to increment/decrement for up, down, left and right arrow keys
and mouse wheel events.
|
Code » | |
The Dragger for dragging the valueThumb.
|
Code » | |
![]()
The minThumb dom-element, pointing to the start of the selected range.
|
Code » |
![]()
Map of child component IDs to child components. Used for constant-time
random access to child components by ID. Lazily initialized on first use.
Must be kept in sync with
children_ . This property is strictly
private and must not be accessed directly outside of this class!
We use a plain Object, not a goog.structs.Map , for simplicity.
This means components can't have children with IDs such as 'constructor' or
'valueOf', but this shouldn't really be an issue in practice, and if it is,
we can always fix it later without changing the API.
|
Code » | |
![]()
Array of child components. Lazily initialized on first use. Must be kept in
sync with
childIndex_ . This property is strictly private and must
not be accessed directly outside of this class!
|
Code » | |
![]()
No description.
|
Code » | |
DomHelper used to interact with the document, allowing components to be
created in a different window.
|
Code » | |
![]()
The DOM element for the component.
|
Code » | |
Event handler.
TODO(user): rename it to handler_ after all component subclasses in
inside Google have been cleaned up.
Code search: http://go/component_code_search
|
Code » | |
Generator for unique IDs.
|
Code » | |
![]()
Unique ID of the component, lazily initialized in
goog.ui.Component#getId if needed. This property is strictly private and
must not be accessed directly outside of this class!
|
Code » | |
![]()
Whether the component is in the document.
|
Code » | |
![]()
Arbitrary data object associated with the component. Such as meta-data.
|
Code » | |
Parent component to which events will be propagated. This property is
strictly private and must not be accessed directly outside of this class!
|
Code » | |
![]()
Whether the component is rendered right-to-left. Right-to-left is set
lazily when
#isRightToLeft is called the first time, unless it has
been set by calling #setRightToLeft explicitly.
|
Code » | |
![]()
Flag used to keep track of whether a component decorated an already existing
element or whether it created the DOM itself.
If an element is decorated, dispose will leave the node in the document.
It is up to the app to remove the node.
If an element was rendered, dispose will remove the node automatically.
|
Code » |
The object to use for event.target. Useful when mixing in an
EventTarget to another object.
|
Code » | |
![]()
No description.
|
Code » | |
Maps of event type to an array of listeners.
|
Code » | |
Parent event target, used during event bubbling.
TODO(user): Change this to goog.events.Listenable. This
currently breaks people who expect getParentEventTarget to return
goog.events.EventTarget.
|
Code » |
![]()
How long the animations should take (in milliseconds).
|
Code » | |
![]()
CSS class name applied when the slider is disabled.
|
Code » | |
![]()
When the user holds down the mouse on the slider background, the closest
thumb will move in "lock-step" towards the mouse. This number indicates how
long each step should take (in milliseconds).
|
Code » | |
![]()
CSS class name applied to the slider while its thumbs are being dragged.
|
Code » | |
![]()
CSS class name applied to a thumb while it's being dragged.
|
Code » | |
![]()
No description.
|
Code » |
![]()
Event types used to listen for dragging events. Note that extent drag events
are also sent for single-thumb sliders, since the one thumb controls both
value and extent together; in this case, they can simply be ignored.
Constants:
|
Code » | |||||||
![]()
Enum for representing the orientation of the slider.
Constants:
|
Code » |