Autonomous custom elements
Widely available
Autonomous custom elements are HTML elements with a hyphenated tag name (like <example-element>
) that have behaviors you define.
To learn more, see
Window: customElements property at MDN.
Compatibility
- Chrome 54 Released on 2016-10-12
- Chrome Android 54 Released on 2016-10-19
- Edge 79 Released on 2020-01-15
- Firefox 63 Released on 2018-10-23
- Firefox for Android 63 Released on 2018-10-23
- Safari 10.1 Released on 2017-03-27
- Safari on iOS 10.3 Released on 2017-03-27
Specifications
- HTML Standard (#autonomous-custom-element), from HTML Workstream (WHATWG).