Re: [w3c/webcomponents] Repurpose the is="" attribute (or make a new attribute with a new name) (#662)

If an approach like this were to be taken, it would be worth thinking up front about component encapsulation. For example, maybe component names can be defined on a per-root basis:

```js
root.components.define('foo', class {
  // ...
})

root.components.define('lorem', class {
  // ...
})
```

---

We can also let component names not have hyphens, as opposed to Custom Elements.

-- 
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/662#issuecomment-327353080

Received on Wednesday, 6 September 2017 02:04:22 UTC