Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/web
index
WebPlatform
Class WebPlatform
Implements
ICorePlatform
Index
Constructors
constructor
Properties
before
Exit
log
Methods
get
Default
Log
Level
get
Device
Model
is
Online
on
Network
Changed
Constructors
constructor
new
WebPlatform
()
:
WebPlatform
Returns
WebPlatform
Properties
before
Exit
beforeExit
:
(
fn
:
()
=>
void
)
=>
()
=>
void
log
log
:
(
color
:
number
,
level
:
number
,
tag
:
string
,
fmt
:
string
,
args
:
unknown
[]
,
)
=>
void
Methods
get
Default
Log
Level
getDefaultLogLevel
()
:
null
|
number
Returns
null
|
number
get
Device
Model
getDeviceModel
()
:
string
Returns
string
is
Online
isOnline
()
:
boolean
Returns
boolean
on
Network
Changed
onNetworkChanged
(
fn
:
(
connected
:
boolean
)
=>
void
)
:
()
=>
void
Parameters
fn
:
(
connected
:
boolean
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
before
Exit
log
Methods
get
Default
Log
Level
get
Device
Model
is
Online
on
Network
Changed
Documentation - v0.19.5
Loading...