Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tab Removed Event

    Hi,

    Some business rules can make it possible for a Tab to close. I'm doing this via TabSet.removeTab() calls. So there are other ways to close tabs besides the TabCloseClickEvent.
    It would be nice to have an event for tab TabRemoved (and likewise for TabAdded) which fires when a tab is removed.


    We can add it ourselves, but I thought it could be interesting to have built in :)

    #2
    By design, we don't generally add events that are triggered by programmatic actions (like calling removeTab()) rather the user actions (clicking the close button). The problem with such "events" is that it's very easy to end up writing code that goes into an infinite loop, or react to programmatic actions with behaviors intended only for when users take an action.

    Comment

    Working...
    X