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
onvrdisplayactivate** A user agent MAY dispatch this event type to indicate that something has occured which suggests the VRDisplay should be presented to. For example, if the VRDisplay is capable of detecting when the user has put it on, this event SHOULD fire when they do so with the reason "mounted".
onvrdisplaydeactivate A user agent MAY dispatch this event type to indicate that something has occured which suggests the VRDisplay should exit presentation. For example, if the VRDisplay is capable of detecting when the user has taken it off, this event SHOULD fire when they do so with the reason "unmounted".
À la vrdisplaypresentchange, perhaps there should instead be a single event called vrdisplaymountchange?
And, in the veins of #109, perhaps vrdisplaymounterror as well? Though, I'm not sure when that would be fire, to be honest. Maybe like if there's a VR display connected but it times out on mounting?
The text was updated successfully, but these errors were encountered:
Per https://w3c.github.io/webvr/#window-vrdisplayactivate-event:
Per https://w3c.github.io/webvr/#window-vrdisplaydeactivate-event:
À la
vrdisplaypresentchange
, perhaps there should instead be a single event calledvrdisplaymountchange
?And, in the veins of #109, perhaps
vrdisplaymounterror
as well? Though, I'm not sure when that would be fire, to be honest. Maybe like if there's a VR display connected but it times out on mounting?The text was updated successfully, but these errors were encountered: