How to use the @material/ripple/util.supportsCssVariables function in @material/ripple

To help you get started, we’ve selected a few @material/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 posva / vue-mdc / src / ripple.js View on Github external
    browserSupportsCssVars: () => supportsCssVariables(window),
    isSurfaceActive: /* istanbul ignore next */ () => el[MATCHES](':active'),
github material-components / material-components-web-react / packages / ripple / index.tsx View on Github external
        browserSupportsCssVars: () => supportsCssVariables(window),
        isUnbounded: () => this.props.unbounded! as boolean,
github pgbross / vue-material-adapter / packages / mcwv-ripple / ripple-base.js View on Github external
browserSupportsCssVars: () => {
        return supportsCssVariables(window);
      },
      computeBoundingRect: () => {
github trimox / angular-mdc-web / packages / ripple / ripple.service.ts View on Github external
      browserSupportsCssVars: () => typeof window !== 'undefined' ? supportsCssVariables(window) : false,
      isUnbounded: () => coerceBooleanProperty(instance.unbounded),