Re: [mediacapture-screen-share] Define CaptureController.setFocusBehavior() (#240)

Re setFocusBehavior() vs an attribute:

I think the setFocusBehavior() is better ergonomically - the mental model fits better with the API model - but technically, the only difference is that you get a getter for free if you make it an attribute.
To me, it makes little sense to want to look at how focus was set once setting focus has finished - it is only of interest while you are in the process of deciding on focus.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/240#issuecomment-1277232276 using your GitHub account


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

Received on Thursday, 13 October 2022 08:26:36 UTC