Refer to theme image in custom HTML

0
0

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>”

Thanks!

  • You must to post comments
0
0

Got it. Thanks for the quick reply and the offer. The enhancement is probably not necessary… I’ll probably use a Unicode character or .png file.

  • You must to post comments
0
0

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.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.