Events: TabSelect vs. activate

Can anyone please explain the difference between these 2 events?

Thanks.

TabSelect is an event that is fired when a tab is selected.

I don’t know what you mean by the activate event. I’m not aware of a standard activate event related to tabs. Are you talking about the jQuery activate event? The activate event fired on windows?

1 Like

waves to fellow ziner

Activate triggers on window focus, its not a tab event. Here is info on the activate/deactivate: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Events#Window_events

noitidart,
Thanks for the reply, but there’s also the following, which looks like it’s tab-oriented, no?
https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/tabs
Still a bit confused…

1 Like

Oh! Ok so the activate and deactivate I mentioned were xul events. This active and deactivate you mention, are apart of the require(‘tabs’) SDK api, and that is when tab gets focus, or loses focus.

OK, thanks.

    I'm in the middle of upgrading my "EdgeWise" extension, and have
    been having a bit of trouble.




    Paul