mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Web: Implement MonitorHandle (#3801)
Requires getting permission from the user to get "detailed" support. Also enables users to go fullscreen on specific monitors. Exposes platform-specific orientation API. Most functionality depends on browser support, currently only Chromium.
This commit is contained in:
@@ -305,7 +305,12 @@ web_sys = { package = "web-sys", version = "0.3.64", features = [
|
||||
'MessagePort',
|
||||
'Navigator',
|
||||
'Node',
|
||||
'OrientationType',
|
||||
'OrientationLockType',
|
||||
'PageTransitionEvent',
|
||||
'Permissions',
|
||||
'PermissionState',
|
||||
'PermissionStatus',
|
||||
'PointerEvent',
|
||||
'PremultiplyAlpha',
|
||||
'ResizeObserver',
|
||||
@@ -313,6 +318,8 @@ web_sys = { package = "web-sys", version = "0.3.64", features = [
|
||||
'ResizeObserverEntry',
|
||||
'ResizeObserverOptions',
|
||||
'ResizeObserverSize',
|
||||
'Screen',
|
||||
'ScreenOrientation',
|
||||
'VisibilityState',
|
||||
'Window',
|
||||
'WheelEvent',
|
||||
|
||||
Reference in New Issue
Block a user