lit-html

17 posts

lit-html banner
lit-html

lit-html

@lit_html

Efficient, Expressive, Extensible

San Francisco, CA Katılım Şubat 2018
74 Takip Edilen830 Takipçiler
lit-html retweetledi
Dion Almaer
Dion Almaer@dalmaer·
"We just published pulito, a stake in the ground for what a “tooling and structure” component looks like. Similarly we’ve published our set of “neat” custom elements skia-elements. And lit-html for templating" - @bitworking from the skia team bitworking.org/news/2018/03/a…
English
0
3
8
0
lit-html retweetledi
KΞNNETH ・ ケニチ
KΞNNETH ・ ケニチ@kennethrohde·
Remember that Template Instantiation proposal from Apple? Our friends at @polymer are prollyfilling and adding some changes based on experience from working with @lit_html ! This will surely move the standardization forward! Can't wait! :-D github.com/PolymerLabs/te…
KΞNNETH ・ ケニチ tweet media
English
1
12
36
0
lit-html
lit-html@lit_html·
Check out this awesome post by @AndreasGalster on creating a Web Component with lit-html. It uses JS modules, lit-html, CSS variables and the new ultra-lightweight base class in Polymer 3.0 preview. Very cool! @andreas_66372/building-a-valentines-day-meme-generator-via-lit-html-and-webcomponents-4e013ca1a8dd" target="_blank" rel="nofollow noopener">medium.com/@andreas_66372
English
0
30
67
0
lit-html
lit-html@lit_html·
@tomasz_ducin Basically. There's also a lot of supported value types like Node, Array, Promise and nested templates, and special syntax in lit-extended for setting properties, event handlers and boolean attributes. Also a powerful directive API.
English
0
1
1
0
lit-html
lit-html@lit_html·
@tomasz_ducin lit-html creates an HTML <template> element from the literal parts, _then_ fills in the values from expressions. This makes templates safe - values can't contain raw HTML - and it let's us update just the values that change, not the whole template, making updates _really_ fast.
English
1
0
3
0
lit-html retweetledi
Mike Hartington
Mike Hartington@mhartington·
Tried out @lit_html typescript plugin, turns out to be quite good! Can even get type documentation out from tag names
GIF
English
0
6
19
0
lit-html
lit-html@lit_html·
let hello = (name) => html`<h1>Hello ${name}!</h1>`; render(hello('World'), document.body);
English
1
17
53
0