Closed jokade closed 7 years ago
This is an interesting idea, but only works if we have some kind of macro that generates custom tags for every component in the classpath, including strongly typed Output/Input fields (meaning we get IDE autocomplete for free, which is huuuuuge!). With strongly typed Output/Input fields this wrapper would become uniquely qualified in the Angular world. I don't think there is any TypeScript based HTML wrapper yet capable of dealing with Angular components.
Ambitious project, nonetheless.
Well, it is (currently) not my plan to automatically create scalatags for components. Right now I'm only adding Angular2-specific tags and attributes.
Example in-line scalatags template: