The Wayback Machine - https://web.archive.org/web/20200120184520/https://github.com/github/custom-element-boilerplate
Skip to content
Boilerplate for creating a custom element.
JavaScript
Branch: master
Clone or download
koddsson Merge pull request #17 from github/use-html-element-tag-name-map
Add HTMLElementTagNameMap interface to TypeScript declaration file.
Latest commit c202e1a Jan 20, 2020

README.md

<custom-element> element

Boilerplate for creating a custom element.

Installation

$ npm install @github/custom-element-element

Usage

import '@github/custom-element-element'
<custom-element></custom-element>

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

Development

npm install
npm test

License

Distributed under the MIT license. See LICENSE for details.

You can’t perform that action at this time.