I would like to make a table where you can click on the rows using bulma and gin/gonic with golang.
----
I am familiar with Angular and other js frameworks that enable the ease of adding (click) event listeners and tying in a function. I'd like to be able to add the equivalent of (click)="doThisFunc()"
. I'd also like to be able to use variables in class names like class="{{isSelected}}"
------
I would prefer to not use a javascript framework if there's a package in golang that would enable the same types of functionality in golang templates.
Please let me know of any packages/ideas/tips that you think would fit this type of capacity.
Thank you!
this question does show the implementation of vanilla js into golang template and that may be what I need to learn, but I'm wondering if there's any easier way or a guide somewhere for this.
Creating load more button in Golang with templates
(p.s. if there's a way to embed a lightweight javascript framework like Solid, alpine, or svelte into a golang app without changing the go gin app much I'd also love to hear about that)