Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/motss/vscode-motss-html-snippets

motss HTML snippets for stuffs Web Components v1
https://github.com/motss/vscode-motss-html-snippets

html polymer snippets vscode vscode-extension webcomponents

Last synced: 27 days ago
JSON representation

motss HTML snippets for stuffs Web Components v1

Awesome Lists containing this project

README

        

# 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

1. Find [motss HTML snippets](https://marketplace.visualstudio.com/items?itemName=motss.motss-html-snippets) at the VS Code Extension marketplace.
1. __OR__ search for `motss HTML snippets` from the `Extensions` tab in your [`VS Code`](https://code.visualstudio.com/).

## Full list

- __cee__ - Extending Custom Elements v1
- __cea__ - Autonomous Custom Elements v1.
- __ce-wd__ - Custom Element's `whenDefined` method.
- __pcea__ - [Polymer.Element](https://www.polymer-project.org/2.0/docs/api/elements/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. ``
- __sf__ - Static function.
- __sfp__ - Static function with parameters.
- __sfg__ - Static get function.
- __gf__ - Get function.

## License

[MIT License](http://motss.mit-license.org/) © Rong Sen Ng