Ticket #5684 (closed defect: duplicate)
[dijit] _Widget .destroy() enhancement
| Reported by: | dante | Owned by: | dante |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by dante) (diff)
It would be nice if you could somehow optionally _not_ delete the srcNodeRef/domNode used by dijit._Widget when calling destroy()
my use case is behavioral widgets you can enable/disable and cleanup effectively, without destroying the content.
eg: var n = new dojox.widget.FishseyeLite?({},"foo"); setTimeout(dojo.hitch(n,"destroy"),10000);
it should fisheye for 10 seconds, and leave the node id="foo" alone (other than having it's this.connect()'s removed, etc)
Change History
Note: See
TracTickets for help on using
tickets.