Skip to main content

WebComponent Awesome

Spec

  • WebComponents
    • CustomElementRegistry.define
    • Window.customElements
    • ShadowDOM
      • Element - attachShadow, shadowRoot, slot, assignedSlot
      • Node - getRootNode, isConnected
      • Event - composed, composedPath
    • Element
      • 生命周期
        • connectedCallback
        • disconnectedCallback
        • adoptedCallback
        • attributeChangedCallback
    • <template>, <slot>
    • CSS
      • :defined
      • :host
      • :host()
      • :host-context()

框架/库/工具

组件

参考