How to use the @material/menu-surface.util.getTransformPropertyName function in @material/menu-surface

To help you get started, we’ve selected a few @material/menu-surface 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 jamesmfriedman / rmwc / src / menu / menu-surface-foundation.tsx View on Github external
setTransformOrigin: (origin: string) => {
          rootEl.setStyle(
            `${util.getTransformPropertyName(window)}-origin`,
            origin
          );
        },
        ...getFocusAdapterMethods(),
github jamesmfriedman / rmwc / src / menu / menu-surface.tsx View on Github external
setTransformOrigin: (origin: string) => {
        this.root.setStyle(
          `${util.getTransformPropertyName(window)}-origin`,
          origin
        );
      },
      ...this.getFocusAdapterMethods(),