How to use @material/mwc-line-ripple - 2 common examples

To help you get started, we’ve selected a few @material/mwc-line-ripple 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 / select / src / mwc-select-base.ts View on Github external
protected renderUnderlined() {
    let labelTemplate: TemplateResult|string = '';
    if (this.label) {
      labelTemplate = this.renderLabel();
    }

    return html`
      ${labelTemplate}
      <div></div>
    `;
  }
github material-components / material-components-web-components / packages / textfield / src / mwc-textfield-base.ts View on Github external
protected renderLabelText() {
    let labelTemplate: TemplateResult|string = '';
    if (this.label &amp;&amp; !this.fullWidth) {
      labelTemplate = html`
      <label for="text-field">
        ${this.label}
      </label>`;
    }

    return html`
      ${labelTemplate}
      <div></div>
    `;
  }

@material/mwc-line-ripple

Material Design line ripple web component

Apache-2.0
Latest version published 2 years ago

Package Health Score

65 / 100
Full package analysis

Popular @material/mwc-line-ripple functions