We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According with the MDN documentation, the DOM tree events must bubble untli the window object.
In addition to the events listed below, many events can bubble from the Document contained in the window object. https://developer.mozilla.org/en-US/docs/Web/API/Window#events
Examples using FF:
var nb = 0; window.addEventListener('foo', function(event) {nb ++;}, true); document.getElementById('content').dispatchEvent(new Event('foo')); nb; // returns 1
var nb = 0; window.addEventListener('foo', function(event) {nb ++;}); document.getElementById('content').dispatchEvent(new Event('foo', {'bubbles':true})); nb; // returns 1
But our usage of libdom node dispatch will not take account the pure zig window object.
The text was updated successfully, but these errors were encountered:
We could register listeners to document with a * type to receive document's events. Then we will able to dispatch these events to widow's listeners.
document
*
Maybe we will have to implement the * type into libdom to do so.
Sorry, something went wrong.
No branches or pull requests
According with the MDN documentation, the DOM tree events must bubble untli the window object.
Examples using FF:
But our usage of libdom node dispatch will not take account the pure zig window object.
The text was updated successfully, but these errors were encountered: