manolakis / scoped-registries Goto Github PK
View Code? Open in Web Editor NEWScoped Custom Element Registry Polyfill
Scoped Custom Element Registry Polyfill
Just trying LitElement
with the new bugfix, I'm getting the element renderer successfully. Although, properties don't seem to be passing down elements rendered like this inside shadow roots with a ScopedCustomElementsRegistry
:
render(html`<my-el .prop=${"test"}></my-el>`, element1.shadowRoot)
Prop is undefined in the MyEl
class.
Reproduction here: https://github.com/guillemcordoba/scoped-registries/issues/new
Hi :) me again,
Font-face type CSS rules breaks the adoptedStyleSheet
API, with this error:
cssTransform.js:163 Uncaught TypeError: Cannot read property 'length' of undefined
at cssTransform (cssTransform.js:163)
at polyfillShadowRoot.js:93
at Array.map (<anonymous>)
Tried to make a PR bypassing the transformation of the CSS rule but bumped into some other issue.
I'm on Chromium, reproduction here: https://github.com/guillemcordoba/scoped-registries/tree/reproduction
When defining elements with lit-element or rendering in the dom via lit-html, the browser gets stuck. I've tried to figure out if this was an infinite loop with the polyfill conflicting with some lit function but without luck.
Reproduction repo: https://github.com/guillemcordoba/scoped-registries
Would be great to have license on the repo to open for contribution from others.
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/licensing-a-repository
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.