Overview Version History Q & A Rating & Review
vscode-motss-html-snippets
Simple snippet for writing native Web Components v1 for supported modern browsers in HTML:
Chrome 55+ - Native support for full Web Components v1.
Opera 42+ - Native support for full Web Components v1.
Safari 10 - Partial support for Web Components v1 - ONLY Template and Shadow DOM
Safari TP - Partial support for Web Components v1 - All except HTML Import
Firefox 50+ - ONLY Template is supported.
Edge 14+ - ONLY Template is supported.
IE11 - None.
Availability
Find motss HTML snippets at the VS Code Extension marketplace.
OR search for motss HTML snippets
from the Extensions
tab in your VS Code
.
Full list
cee - Extending Custom Elements v1
cea - Autonomous Custom Elements v1.
ce-wd - Custom Element's whenDefined
method.
pcea - Polymer.Element .
hib - HTML Import element from bower_components
.
hid - HTML Import element from bower_components
but element's directory and filename do not share the same name. E.g. <link rel="import" href="../bower_components/x-elements/custom-x-element.html">
sf - Static function.
sfp - Static function with parameters.
sfg - Static get function.
gf - Get function.
License
MIT License © Rong Sen Ng