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
Hi, @mojavelinux! 👋
Thanks a lot for your great work in general and for this extension in particular 👍 Context: We migrate a part of PlayFramework docs that was written by Paradox and use AsciiDoc Tabs. But we have a one issue.
Is it possible to add behavior when the switching tabs also change the content outside the tabs?
I'll explain what I mean. In Paradox it's looks like next:
Java
: @@snip[example-second.java](/docs/src/main/resources/tab-switching/examples.java)
Scala
: @@snip[example-second.scala](/docs/src/main/resources/tab-switching/examples.scala)
The module file is generated in ... for @java[Java]@scala[Scala]
And when I'm switching the tabs, the text in paragraph also is changed. You can see how it works on this page for example.
I can try to create a pull request to solve this issue, but I need your opinion about how the solution should look to be accepted 🙏
The text was updated successfully, but these errors were encountered:
Toggling content outside the tabset is not within the scope of this project. However, I'd be willing to consider having the script raise an event when a tab is switched so that you can hook in your own code to toggle other content. Alternatively, you could register listeners on the tabs to do the same since the state of the tab is stored in the HTML DOM.
Hi, @mojavelinux! 👋
Thanks a lot for your great work in general and for this extension in particular 👍
Context: We migrate a part of PlayFramework docs that was written by Paradox and use AsciiDoc Tabs. But we have a one issue.
Is it possible to add behavior when the switching tabs also change the content outside the tabs?
I'll explain what I mean. In Paradox it's looks like next:
And when I'm switching the tabs, the text in paragraph also is changed. You can see how it works on this page for example.
I can try to create a pull request to solve this issue, but I need your opinion about how the solution should look to be accepted 🙏
The text was updated successfully, but these errors were encountered: