open-wc / custom-elements-manifest-deprecated

Custom Elements Manifest is a file format that describes custom elements in your project.
8 stars 4 forks source link

[core] better slot/css part/css prop support #4

Closed thepassle closed 3 years ago

thepassle commented 3 years ago

Currently slots, css parts and css properties are only supported through JSDoc.

We could do a check with dom5/parse5 for any innerHTML or html tagged template literals, do a query select for slot, slot[name] and [part], to automatically find slots, parts, and properties.