How to use the @material/toolbar/foundation.strings function in @material/toolbar

To help you get started, we’ve selected a few @material/toolbar 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 pgbross / vue-material-adapter / packages / mcwv-toolbar / mdc-toolbar.vue View on Github external
getFirstRowElementOffsetHeight: () => {
        let el = this.$refs.root.querySelector(
          MDCToolbarFoundation.strings.FIRST_ROW_SELECTOR,
        );
        return el ? el.offsetHeight : undefined;
      },
      notifyChange: evtData => {
github pgbross / vue-material-adapter / packages / mcwv-toolbar / mdc-toolbar.vue View on Github external
setStyleForTitleElement: (property, value) => {
        let el = this.$refs.root.querySelector(
          MDCToolbarFoundation.strings.TITLE_SELECTOR,
        );
        if (el) el.style.setProperty(property, value);
      },
      setStyleForFlexibleRowElement: (property, value) => {