o0101 / good.html

💎 Good.HTML. A nice framework without the bad stuff. Lots of custom elements, and nice templates. Good. HTML
https://o0101.github.io/good.html/
MIT License
21 stars 2 forks source link

nested handlers are not resolved #59

Open o0101 opened 1 year ago

o0101 commented 1 year ago

e.g.

       F` <p>
          <button type=submit class=ok title=Acknowledge value=ok>OK</button>
          ${otherButton ?
            F`<button title="${otherButton.title}" click=${otherButton.onclick}>${otherButton.title}</button>`
            :
            F`<!-- other button -->`
          }
        </p>`

The otherButton.onclick click handler is never found by our system, and remains unusable.