What does the third parameter (false) indicate in document.addEventListener("deviceready",OnDeviceReady,false);
dom-events, events, javascript
Solution
It's useCapture:
If `true`, `useCapture` indicates that the user wishes to initiate capture. After initiating capture, all events of the specified type will be dispatched to the registered `listener` before being dispatched to any `EventTarget`s beneath it in the DOM tree. Events which are bubbling upward through the tree will not trigger a listener designated to use capture. See DOM Level 3 Events for a detailed explanation.
Problem
What does the third parameter (false) indicate in ``` document.addEventListener("deviceready",OnDeviceReady,false); ``` Can any one show an example script to show the difference