I want to use a Topcoat checkbox in an app. That requires some HTML like this:

<label class="topcoat-checkbox">
  <input type="checkbox">
  <div class="topcoat-checkbox__checkmark"></div>
  Checkbox Label
</label>

I cannot think of a normal way of including something like this in my app 
without creating a whole new framework component. Conditional compiles do not 
seem to work. I don’t know why. I also considered using an InnerHTML bead, but 
that does not allow handling the checkbox clicks.

The fact that FlexJS abstracts the HTML and JS most of the time is great, but I 
think there needs to be an easy way to use bog-standard HTML when the need 
comes up.

Thoughts?

Harbs

Reply via email to