Re: [webcomponents] Rename getAssignedNodes()? (#451)

I don't think that `slotted` is sufficiently clear. Unlike `deepPath`, "slotted" is an adjective. To someone who doesn't already know what the property does, it could sound like the property is describing the state of the Slot element itself. Compare with, say, an HTMLInputElement that has a `checked` property that indicates if the element is checked or not. Similarly, a `slotted` property on an element could sound like that element is in the state of having been put into a slot.

I think `slottedNodes` is better for this reason. I think `assignedNodes` (just dropping the "get) would be equally good.

---
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/451#issuecomment-200662291

Received on Thursday, 24 March 2016 04:47:10 UTC