-
1. Re: Elemental2 Dom and Errai example
mbarkley Aug 3, 2017 11:14 AM (in response to hr.stoyanov)Hi Hristo,
It should be possible to re-implement BindableEmailAnchor my making a native JS type that extends the elemental HTMLAnchorElement and implements Errai's HasValue with the same annotations. Once we have full Elemental 2 support in Errai (we are still working on built-in injectors for all Elemental 2 DOM element types) we will update the tutorial to use more Elemental 2.
> Would you have to do CDI producers for custom extensions as well ( I think so ..)?
Not sure what you mean by that.
-
2. Re: Elemental2 Dom and Errai example
mbarkley Aug 3, 2017 11:16 AM (in response to mbarkley)> Would you have to do CDI producers for custom extensions as well ( I think so ..)?
Just re-read and now I understand. We will eventually provide built-in injectors for all Elemental 2 element types, but if you make your own type you will either have to:
- Make your own CDI producer
- Use the @Element annotation like the PaperInput in errai-tutorial