You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.
I am wondering whether we could add the second boolean parameter to indicate whether the onclick need to be invoked. Here are what I have changed in bbui.js, is it possible that we merge this tiny change to current stream to support this?
If you are looking to set the state of the tab before the screen is shown to the user you can set the data-bb-selected="true" attribute in the onscreenready event. This will draw the tab selected but not fire its onclick.
If you need to set the selected state of the tab without the onclick firing after the DOM has been loaded I would suggest the following.
First set your own flag on the tab you want to select and .
If you are looking to set the state of the tab before the screen is shown to the user you can set the data-bb-selected="true" attribute in the onscreenready event. This will draw the tab selected but not fire its onclick.
If you need to set the selected state of the tab without the onclick firing after the DOM has been loaded I would suggest the following.
First set your own flag on the tab you want to select and .
Dear All,
I meet an requirement that I would like to set the selected status of an action bar item without invoke the onClick hook defined for the item,
I remember we have a discussion before, for example #598.
Is there any plan to implement this or this there any workaround we could use to implement this?
Regards.
Lawrence.
The text was updated successfully, but these errors were encountered: