Last active
February 24, 2019 06:49
-
-
Save kumaraksi/2a0d5f63cacf6451bd39118c6684d412 to your computer and use it in GitHub Desktop.
Lazy-load-gmap main file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import './components/gmaps/gmap'; | |
import { EventBus } from "./EventBus"; | |
window.addEventListener('load', function(){ | |
EventBus.getInstance().emit('onLoad') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment