If I want to refer to the built-in theme image “table-row-editing” in my custom HTML button, how can I do that?
lvsiButton.Text = “<a role=’edititem’ href=’#’ class=’myButtonn’>(insert icon here)</a>”
You cant in a html. Wisej theme images are preloaded and cached, when they are svg they are cached as xml/svg document, and when assigned to a widget they are updated to use the correct fill color. They are also updated when the state of the widget changes. It’s not just a url. However, I can add an enhancement to let the resource.wx handler return a theme image.
Please login first to submit.