- From: Tobie Langel <notifications@github.com>
- Date: Mon, 18 Dec 2017 13:47:56 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 December 2017 21:48:18 UTC
So just to clarify, the 3 options @jyasskin refers to above were discussed on irc and are: 1. The above proposal: ``` interface I { [[aSlot]]; // custom slot readonly attribute DOMString foo; // has a [[foo]] slot. attribute DOMString innerHTML; // has a [[innerHTML]] slot, never uses it. }; ``` 2. @domenic's option (opt-in): ``` interface I { [[aSlot]]; // custom slot [Slot] readonly attribute DOMString foo; // has a [[foo]] slot. attribute DOMString innerHTML; // has no slot. }; ``` 3. Ruby-style: ```` interface I { [[aSlot]]; // custom slot [[anotherSlot]]; // another custom slot used below [Reflect=anotherSlot] readonly attribute DOMString foo; // reads from [[anotherSlot]] attribute DOMString computedAttr; // has no slot. }; ``` To which I'll add @annevk's option: 4. @annevk's option (opt-out): ``` interface I { [[aSlot]]; //custom slot readonly attribute DOMString foo; // has a [[foo]] slot. [NoSlot] attribute DOMString computedAttr; // has no slot (duh!) }; ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/495#issuecomment-352568136
Received on Monday, 18 December 2017 21:48:18 UTC