Ionic2 Canvas element to use in a page



I am looking on a way to add custom HTML 5 Canvas element in Ionic2 (custom Canvas that I could then use in my pages (and later on to animate them on some event happening)). I’ve tried some stuff and opened a SO regarding it.

I haven’t find any reliable best practice yet on how to do that. And answers I’ve found regarding this topic happen to have trouble of import that seem to not be satisfied like View that seems deprecated or ElementRef that causes a transpile error.