In my app.html I have:
<div id="wrapper"
(document:load)="onWindowLoadOrResize($event)"
(window:resize)="onWindowLoadOrResize($event)">
This is used to set the height on the css for a content div. The resize is working fine, but it does not fire initially on the page load. The document:load does not fire at all. What is the best way to run code that will see the initial size of the window?