The 1.5 API is/was

$(el).data("optionname.pluginname", newVal)

In 1.6 it is/will be

$(el).pluginname("option", "optionname", newVal)

[In either case newVal can be omitted and it's a getter instead of a setter]

It's not documented yet because 1.6 isn't released yet.

- Richard

On Wed, Dec 31, 2008 at 1:43 AM, tropperstyle <[email protected]>wrote:

>
> Hmm. I'll have to take a look through the source. Is this 'option'
> syntax supposed to be exposed as the public API? (It's not currently
> documented) Can this be reliable for use with 1.6+? Seems similar to
> the .data('option.dialog') syntax, is there any relationship?
>
> On Dec 30, 4:52 pm, Scott González <[email protected]> wrote:
> > You can tell a dialog to reposition itself with one line of code:
> >
> > $(el).dialog('option', 'position', $(el).dialog('option',
> > 'position'));
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to