W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2020

Re: [screen-wake-lock] explainer: Expand on why WakeLock.request() still requires an argument. (#288)

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Sep 2020 02:43:59 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-698077627-1600915438-sysbot+gh@w3.org>
> I think it's reasonable to make type an optional parameter with a default of "screen". I said as much on the PR where system wake locks were split out.

Agree. Defaulting to "screen" seems totally reasonable. 

-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/pull/288#issuecomment-698077627 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 24 September 2020 02:44:01 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 September 2020 02:44:03 UTC