Shadow DOM

Descrição

This will explain shadow DOM
Ravi Upadhyay
Slides por Ravi Upadhyay, atualizado more than 1 year ago
Ravi Upadhyay
Criado por Ravi Upadhyay mais de 6 anos atrás
61
0

Resumo de Recurso

Slide 1

    Shadow DOM: Introduction
    New DOM feature that helps you build components. Shadow DOM is one of the four Web Component standards: HTML Templates, Shadow DOM, Custom elements and HTML Imports. Shadow DOM is set of DOM elements managed by your element. Can think of shadow DOM as scoped subtree inside your element. According to google web fundamentals: "Shadow DOM fixes CSS and DOM. It introduces scoped styles to the web platform. Without tools or naming conventions, you can bundle CSS with markup".
    Rubrica: : Representation of Shadow DOM

Slide 2

    Shadow DOM: Bit more details
    Shadow Root: It is top of the shadow tree. Shadow Host: The element to which the tree is attached to. ShadowRoot: The host has a property called shadowRoot that refers to shadow root. Host: The shadow root has a host property that identifies host element. The shadow tree is separate from the element's children. You can think of this shadow tree as part of the component's implementation, which outside elements don't need to know about. The element's children are part of its public interface.

Semelhante

Quiz - Object Oriented Javascript
arunram.krish
Examen Fundamentos Basicos de Programación
Jose Valderrama0721
Test I. Introduction to web technologies
Angel Martínez Rodriguez
JavaScript Fundamentals
Andrew Watters
Front-End Web Development
Chanthy Ngin
Javascript - Quiz - Jan 2016
arunram.krish
OpenSource Programming
Faheem Ahmed
Javascript basics
James Drummond
jQuery Basics functions and method
Victor Bini
Javascript Variables
Rene Escobar
JavaScript DOM API - Funções Basicas - Interactive Web Pages
Victor Bini