Michael Bromley
Member since Jul 6, 2018
- Profile: /members/13782-michael-bromley.htm
- URL: http://www.michaelbromley.co.uk
- Comments: 1
Recent Blog Comments By Michael Bromley
-
Experiment: Injecting A Component Reference Into A Pipe Instance In Angular 6.0.0
Posted on Jul 6, 2018 at 3:12 AM
Hey Ben, Just came across this when wanting to try something similar. In the end I discovered that you can inject an instance of the ChangeDetectorRef and if you inspect it at run-time, you will see an instance of "ViewRef_" which contains a property "context" which is ... read more »