       this.$.viewContainer.grid = showGrid;
      }

      _onGridToggle() {
        this.$.viewContainer.grid = this.$.gridToggle.checked;
        if (localStorage) {
          localStorage.setItem('hideGrid', this.$.gridToggle.checked ? "false" : "true");
        }
      }

    }

    window.customElements.define(TheApp.is, TheApp);
  </script>
</dom-module>