go-app
go-app copied to clipboard
how to use web components?
like wired-elements, it a web components ui.
can add hellper method, like this:
app.RawElement("wired-input").attr("placeholder", "Enter name")
app.RawElement("wired-button").attr("title", "Click Me').text("Click Me")
Hi, Web components are currently not supported. The hack is to use App.Raw and put raw html in.
Whether its full implementation or syntax hack, I have to do some experiences to see what is possible in this area.