localize-router icon indicating copy to clipboard operation
localize-router copied to clipboard

can't trigger window.load

Open emn178 opened this issue 6 years ago • 0 comments

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if similar feature request does not exist
[ ] support request => Suggested place for help and support is [stackoverflow](https://stackoverflow.com/), search for similar question before posting

Description

When I use this module, window.load won't trigger randomly.

🔬 Minimal Reproduction (if applicable)

in app.component.

@HostListener('window:load')
  load() {
    console.log('loaded');
  }

🌍 Your Environment

Angular Version: 7.2.0

Localize Router Version: 2.0.0-RC.2

Anything else relevant?

emn178 avatar Mar 22 '19 02:03 emn178