Re: [mediacapture-screen-share-extensions] [Capture control] Should a web page allow to select specific types of event to be forwarded and not others (#18)

I believe it best to be explicit.

This is a trivial addition:
```js
controller.forwardWheel();
controller.forwardPinch();
```

This too is trivial:
```js
controller.forwardGestures({wheel: true, pinch: true});
```

As is:
```js
controller.forwardGestures({all: true});
```

Allowing the application the flexibility of opting in/out of specific gestures might be very significant for those apps that need this, while costing those apps that don't need it nothing (especially with the `all` version I propose here).


-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share-extensions/issues/18#issuecomment-2437422452 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 25 October 2024 10:20:40 UTC