Typescript Library Declarations (DOM)
Interface WakeLock
Available only in secure contexts.
MDN Reference
interface
WakeLock
{
request
(
type
?:
"screen"
)
:
Promise
<
WakeLockSentinel
>
;
}
Index
Methods
request
Methods
request
request
(
type
?
)
:
Promise
<
WakeLockSentinel
>
MDN Reference
Parameters
Optional
type
:
"screen"
Returns
Promise
<
WakeLockSentinel
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
request
Typescript Library Declarations (DOM)
Available only in secure contexts.
MDN Reference