Ticket #3257 (closed enhancement: fixed)
Add option method to widgets
| Reported by: | scott.gonzalez | Owned by: | scott.gonzalez |
|---|---|---|---|
| Priority: | major | Milestone: | 1.6rc1 |
| Component: | ui.core | Version: | 1.6b |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Deprecate use of .data() for getting/setting options in favor of an option method.
$(...).plugin('option', optionName) // getter
$(...).plugin('option', optionName, value) // setter
$(...).plugin('option', { optionName1: value, optionName2: value }) // multi-setter
Change History
Note: See
TracTickets for help on using
tickets.


Fixed in [636].