Ticket #3257 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [636].

comment:2 Changed 6 years ago by rdworth

  • Milestone changed from 1.6 to 1.6rc1
Note: See TracTickets for help on using tickets.