text: import { AbstractPage, register } from '../components/AbstractPage'
  import { QRCode } from 'easyqrcodejs'
  
  register("DisplayQR", class DisplayQR extends AbstractPage {
  
      constructor(id) {
          super(id)
      }
  
      enter() {
          let html = this.html
  
          const myqr = window.localStorage.getItem("MYEUDCC")
          console.log(myqr)
  
          let qrelement = document.createElement("div");
  
          let params = {
              text: myqr,
              correctLevel : QRCode.CorrectLevel.L,
              width: 300,
              height: 300
          }
          var qrcode = new QRCode(qrelement, params);
  
          let theHtml = html`
          <div style="text-align:center; margin-top:100px">
              ${qrelement}
          </div>
          `
  
          this.render(theHtml)
      }
  })
  