Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Please use event listeners to run functions.
- document.addEventListener('onLoad', function(obj) {
- // obj will be empty for event list
- // this will fire only once when the widget loads
- });
- document.addEventListener('onEventReceived', function(obj) {
- // obj will contain information about the event
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement