Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7590 closed enhancement (fixed)

ToggleSplitter doesnt provide any convenient way to get open/close notification

Reported by: Sam Foster Owned by: Sam Foster
Priority: high Milestone: 1.2
Component: DojoX Widgets Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:

Description

Open/closing are what the widget does, but its doesnt provide any topic or readily connect-able method for catching that event

Change History (2)

comment:1 Changed 11 years ago by Sam Foster

Resolution: fixed
Status: newclosed

(In [15121]) * Adds onOpen, onClose stubs that are called when there's a state change. Added example to test page

  • Refactored slightly to use this.attr to call the _setOpenAttr always, lose the 2nd "force" param.

As a result attr("open") calls are ignored until the end of startup, when a this._started flag is switched.

  • tweaks for code style
  • css tweaks - the -1px offset on the button not necessary

fixes #7590

comment:2 Changed 11 years ago by Adam Peller

Milestone: tbd1.2
Note: See TracTickets for help on using tickets.