- From: Hayato Ito <notifications@github.com>
- Date: Mon, 01 Feb 2016 23:15:16 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 2 February 2016 07:15:53 UTC
@sorvell If we use an event, how the user-facing event should be? ```js slot.addEventListner("slotted", (e) => { console.log(e.target) ;; -> slot console.log(e.target.getAssignedNodes({flattern: true}) ;; -> Show the current assignedNodes({flatten: true}) }); ``` Is that enough as an API? Do you need addedNodes / removedNodes / oldAssignedNodesBeforeChanged or something else? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/288#issuecomment-178416415
Received on Tuesday, 2 February 2016 07:15:53 UTC