You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to handle the hashchange event of the body, this event is present in the list of 'standard HTML DOM events', and on Mozilla docs is stated:
In addition to the Window interface, the event handler property onhashchange is also available on the following targets: HTMLBodyElement ...
So I tried to use <body _="on hashchange log 'hash change'"> however there is no output in the console when navigating anchors.
With the standard definition <body onhashchange="console.log(this)"> outputs to the console.
Am I missing something or it's just not supported?
Hello, I'm trying to handle the
hashchange
event of the body, this event is present in the list of 'standard HTML DOM events', and on Mozilla docs is stated:So I tried to use
<body _="on hashchange log 'hash change'">
however there is no output in the console when navigating anchors.With the standard definition
<body onhashchange="console.log(this)">
outputs to the console.Am I missing something or it's just not supported?
using version 0.9.13
reference:
https://www.w3schools.com/jsref/dom_obj_event.asp
https://developer.mozilla.org/en-US/docs/Web/API/Window/hashchange_event
thanks
The text was updated successfully, but these errors were encountered: