Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3257 closed enhancement (fixed)

Add option method to widgets

Reported by: Scott González Owned by: Scott González
Priority: major Milestone: 1.6rc1
Component: ui.core Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:

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 (2)

comment:1 Changed 9 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in [636].

comment:2 Changed 9 years ago by rdworth

Milestone: 1.61.6rc1
Note: See TracTickets for help on using tickets.