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
I want to refer to the object to which the event is dispatched. However, when I access the Target property of the event, it is undefined. What should I do?
node.js is used as a client.
Since I will be communicating with multiple directories on the same server, I will add a property to the EventSource object for directory identification. Therefore, I need a reference to the target.
URL information alone is fine for determining the directory, but the parameter "origin" in the event object contains only the host name and port number and cannot determine the directory.
hi
I want to refer to the object to which the event is dispatched. However, when I access the Target property of the event, it is undefined. What should I do?
ref�: https://developer.mozilla.org/ja/docs/Web/API/Event/target
The text was updated successfully, but these errors were encountered: