JayChase/angular2-highlight-js

ng4 highlight works on ngAfterViewChecked hook but not on ngAfterViewInit

daggerok opened this issue · 1 comments

Hello, for some reasons I wasn't able to highlight a code using ngAfterViewInit hook.
After few tries I was succeed with AfterViewChecked interface.

here is a code sample

if it's expected behavior, then maybe better update documentation.


BR, Max

Thanks for the update will have a look.