Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#541 closed enhancement (fixed)

dojo.event.topic: add method to delete a topic

Reported by: bill Owned by: alex
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


Add a method to delete a topic (ie, to disconnect everything subscribed to that topic).

This idea came out of a discussion about how to handle destruction of a Tree object, although it turns out not to be necessary to solve that problem.

But, it still seems like a useful feature, assuming you agree that a widget called "TreeWidget123" can conceptually "own" a topic called "TreeWidget123_clicked". (When TreeWidget123 is destroyed, the topic should disappear too, even if later on someone creates a new widget that's also called TreeWidget123.)

Change History (4)

comment:1 Changed 16 years ago by alex

Status: newassigned

comment:2 Changed 16 years ago by alex

Priority: normalhigh

comment:3 Changed 16 years ago by alex

Resolution: fixed
Status: assignedclosed

fixed in SVN r3872. The new method is used like this:


comment:4 Changed 15 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.