How to use the metal-dom.toggleClasses function in metal-dom

To help you get started, we’ve selected a few metal-dom examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiferayCloud / marble / packages / marble-datatable / src / Datatable.js View on Github external
toggleTableContents(label) {
    dom.toggleClasses(label, this.labelClasses);
    dom.toggleClasses(dom.next(label, 'table'), this.hiddenClasses);
  }
github LiferayCloud / marble / packages / marble-datatable / src / Datatable.js View on Github external
toggleTableContents(label) {
    dom.toggleClasses(label, this.labelClasses);
    dom.toggleClasses(dom.next(label, 'table'), this.hiddenClasses);
  }