How to use the @material/mwc-base/utils.js.findAssignedNode function in @material/mwc-base

To help you get started, we’ve selected a few @material/mwc-base 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 material-components / material-components-web-components / packages / formfield / mwc-formfield.js View on Github external
get _input() {
    return this.__input = this.__input ||
      findAssignedNode(this.shadowRoot.querySelector('slot'), '*');
  }
}
github material-components / material-components-web-components / packages / formfield / mwc-formfield.ts View on Github external
private get _input() {
    return this.__input = this.__input ||
      findAssignedNode(this.shadowRoot.querySelector('slot'), '*');
  }
}