done! </h4> <p>Aww yeah, you successfully read this important alert message </p> <hr> <p class="mb-0"> Whenever you need to, be sure to use margin utilities to keep things nice and tidy. </p> </div> Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
99; el.disabled = false; el.range = ['2018-01-01', '2019-01-01']; • Access via JavaScript • Typically reflected back into attributes but doesn't have to • Supports complex data (arrays, objects, etc.) Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
was shared" sharetext="You should really click on the link to learn more" shareurl="http: //example.com/amazing" > <a href="https: //twitter.com/intent/tweet?text=Share+Text&url=SHARE_URL"> Share on Twitter </a> </web-share-wrapper> Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
on adding new low-level capabilities to the web platform that are secure and efficient. • The web platform should expose low-level capabilities that explain existing features, such as HTML and CSS, allowing authors to understand and replicate them. Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
"A simple base class for creating custom elements rendered with lit- html" • Uses web standards (no compilation)* • lit-html is powered by HTML templates • ! https://github.com/Polymer/lit-element * Except module bundling Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
Ionic Team • "compiler that generates web components" • Built to bring Ionic to more frameworks than Angular • Inspired by Angular, React and others • Uses TypeScript, decorators, and JSX • ! stenciljs.com Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform
'@stencil/core'; @Component({ tag: 'my-first-component', styleUrl: 'my-first-component.scss', }) export class MyComponent { // Indicate that name should be a public property on the component @Prop() name: string; render() { return <p>My name is {this.name} </p>; } } Dominik Kundel | @dkundel | #ReactAlicante #webComponents #useThePlatform