What I’m trying to do is to use elements from Toggle buttons - AUI Documentation but when I add the in the velocity template it just remains as it is in the HTML source.
So it doesn’t “compile/enhance” to look and work as intended?
@DanielAnechitoaie did you required com.atlassian.auiplugin:aui-toggle webresource?
You can do it for example adding $webResourceManager.requireResource(“com.atlassian.auiplugin:aui-toggle”) at the top of your velocity template.
I did not. Adding it fixed the issue and now it works. Thank you.
But now, a follow up question.
How does one know this? what resources are available to be used and their names so that we can requires them. Say I want to use some other widget from AUI. Is this process documented somewhere so that I know that I would need to include com.atlassian.auiplugin:aui-something-else?
Thank you again for the answer regarding the toggle component.