Michael Bromley
Member since Feb 27, 2016
- Profile: /members/13073-michael-bromley.htm
- URL: http://www.michaelbromley.co.uk
- Comments: 3
Recent Blog Comments By Michael Bromley
-
Providing Custom View Templates For Components In Angular 2 Beta 6
Posted on Jun 17, 2016 at 9:41 AM
@Ben, @Matthias, Re. custom templates - I have implemented this kind of solutions in a project where the user "template" is projected into the view with <ng-content>, and then queried at run-time to see if anything has been provided. You can see the view code here: https://github.... read more »
-
Providing Custom View Templates For Components In Angular 2 Beta 6
Posted on Feb 27, 2016 at 5:16 PM
@John one reason I can think of is that your component may rely on component life cycle methods. Not sure how these interact (if they are used at all) when must injecting the class.... read more »
-
Providing Custom View Templates For Components In Angular 2 Beta 6
Posted on Feb 27, 2016 at 2:04 AM
Ben! This is exactly the kind of feedback I was hoping for! This method is a much better fit for what what I need. I'll update my article to include this approach too.... read more »