- From: Thomas Di Grégorio <notifications@github.com>
- Date: Mon, 06 Apr 2020 08:43:35 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 6 April 2020 15:43:51 UTC
Also with a `<slot>` element at root document : ``` <header> <slot name="slot-with-u" src="welcome.html"></slot> </header> ``` ... but I still perfer the `<content select="">` way ! Augmenting the `content` element with a `src` attribute make it more versatile (even in shadow roots): ``` <header> <content src="welcome.html"></content> </header> ``` But the precedence have to be solved when given along with a lightDOM content and a `select` attribute ``` <content select="span.name" src="welcome.html"></content> ``` (I'm sure how content element implementation can be used outside a ShadowRoot element...) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/849#issuecomment-609873124
Received on Monday, 6 April 2020 15:43:51 UTC