8000 GitHub - anoblet/lit-utility · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

spreadProps

const props = { foo: 'a', bar: 'b' };

render(html`
  <my-element ...=${spreadProps(props)}></my-element>
  `, document.getElementById('root'))

applyStyle

const style = css`
  :host {
    background: red;
  }
`

applyStyle(this.shadowRoot.querySelector("#myNode"), style);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0