title: How to get custom element member variable from inline event handler?
body: <p>Because I would like to keep the custom element self-contained, I want to avoid putting a reference to the member variable on the <code>window</code> object.</p>
  
  <pre><code>customElements.define( 'component-one', class extends HTMLElement {
      connectedCallback() {
          this.memberVariable="This is a member variable";
          this.innerHTML = "&lt;button onclick='//How do I reference the above this.memberVariable here?'&gt;This is a button&lt;/button&gt;";
      }
  }):
  </code></pre>