How to use the @material/textfield/dist/mdc.textfield.MDCTextField function in @material/textfield

To help you get started, we’ve selected a few @material/textfield 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 usebedrock / bedrock / content / js / material-imports.js View on Github external
function handleMDCTextFields(textfieldsEl) {
  for (var i = 0; i < textfieldsEl.length; i++) {
    new MDCTextField(textfieldsEl[i]);
  }
};