How to use the @material/drawer.MDCDrawer function in @material/drawer

To help you get started, we’ve selected a few @material/drawer 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 matsp / material-components-vue / components / drawer / Drawer.vue View on Github external
this.$nextTick(function () {
          this.mdcDrawer = new MDCDrawer(this.$el)
        })
      }
github matsp / material-components-vue / components / drawer / Drawer.vue View on Github external
this.$nextTick(function () {
          this.mdcDrawer = new MDCDrawer(this.$el)
        })
      }
github prateekbh / preact-material-components / ts / Drawer / index.tsx View on Github external
public componentDidMount() {
    super.componentDidMount();
    if (this.control && (this.props.modal || this.props.dismissible)) {
      this.MDComponent = new MDCDrawer(this.control);
      this.MDComponent.listen('MDCDrawer:opened', this.onOpen);
      this.MDComponent.listen('MDCDrawer:closed', this.onClose);
    }
  }
github matsp / material-components-vue / components / drawer / Drawer.vue View on Github external
this.$nextTick(function () {
      if (!this.mdcDrawer && (this.dismissible || this.modal)) { this.mdcDrawer = new MDCDrawer(this.$el) }
    })
  },