jQuery mobile 1.1.0 slider: JS-object properties access?

Posted by Koniak on Stack Overflow See other posts from Stack Overflow or by Koniak
Published on 2012-06-01T19:49:21Z Indexed on 2012/06/02 16:41 UTC
Read the original article Hit count: 175

EDIT: This could be seen as a pure javascript objects question. The code can be found here: jquery.mobile-1.1.0.js

I need to access properties of a jQuery mobile JS-object but is not sure how that is possible. In the jquery.mobile-1.1.0.js and mobile.slider is the following (see extend on line 5967):

$.widget( "mobile.slider", $.mobile.widget, {
  ...
  _create: function() {
    ...
    $.extend( this, {
      slider: slider,
      handle: handle,
      valuebg: valuebg,
      dragging: false,
      beforeStart: null,
      userModified: false,
      mouseMoved: false
    });

Primarily the property I would like to read is the "dragging".

I know i can execute the methods using:

$("#slider").slider("refresh")

Is there a similair way to access the properties?

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery