element icon indicating copy to clipboard operation
element copied to clipboard

Fast and simple custom elements.

Results 13 element issues
Sort by recently updated
recently updated
newest added

This will be necessary in order to support declarative ShadowDOM and to implement SSR. We might want to detect and create `ShadowRoot`s in `constructor`.

enhancement

When I open the demo page(https://webcomponents.dev/edit/EJ5VTuaaO0Iwq3APUFMe), the code throws error below. > _$currentContext is not a function [src/index.stories.jsx (12:22)]() >> TypeError: _$currentContext is not a function at https://webcomponents.dev/42890220-93bd-11ec-b7a1-81c82af0ebbf/web_modules/EJ5VTuaaO0Iwq3APUFMe/dist/index.stories.js:17:19 at story1...

- [ ] update README on how TS users will import types using `jsxImportSource` in TS 4.1.1+ - [ ] describe how props/attributes work

breaking

`dom` is deprecated now, because `web` includes both SSR (no DOM) and clientside stuff (has DOM).

We need to list `@lume/cli` as a peer dependency of of `@lume/element` because `@lume/element` depends on a certain range of versions of `@lume/cli` for when it is time to build...

This is a more performant way to share a common styling across instances of a custom element. [Not all browsers support it yet](https://caniuse.com/#search=adoptedStyleSheets), and the API may change a little...

good first issue

Make a simple abstraction that can take a piece of CSS, generate a stylesheet from it, and provide the end developer a function that can be called in order to...

enhancement
good first issue

Ideas: - https://medium.com/@mlrawlings/maybe-you-dont-need-that-spa-f2c659bc7fec

This will probably be in a new repo, but it doesn't exist yet. We can get ideas from https://github.com/mduclehcm/solid-router.

otherwise the following will fail if styles are prepended: ```html template = html` ` ``` Current workaround is to define `styleRoot` where styles will be appended: ```js #styleRoot = document.createElement('div')...