html5-knob icon indicating copy to clipboard operation
html5-knob copied to clipboard

A rotary web input component

Results 7 html5-knob issues
Sort by recently updated
recently updated
newest added

1) Replace `document.registerElement` with `customElements.define`. 2) Replace `createShadowRoot` with `attachShadow`. 3) Get rid of `document.writeln`, which is unsupported and unneeded. Up-to-date as of Oct 23, 2022.

Would be awesome if you include an inertial effect on the knob when it is rotated, just like the GSAP draggable.

lets merge the patch from @BramVerb * indent with spaces * use let, const * shorter syntax * use class * (more?) maybe split the commit in * fix indent...

They're removing this in favor of window.customElements.define() in June 2019 https://www.chromestatus.com/features/4642138092470272

The demo page works fine if you visit in desktop Safari, but in mobile Safari none of the controllers display.

We're supposed to use attachShadow({mode: 'closed'}); now

I'm happy to submit this as a pull request if you'd like? https://www.webcomponents.org/publish