@duckduckgo/content-scope-scripts
Preparing search index...
Set as Default Page
SetAsDefaultPage
Class SetAsDefaultPage
Index
Constructors
constructor
Properties
messaging
notify
request
Methods
initial
Setup
report
Init
Exception
report
Page
Exception
Constructors
constructor
new
SetAsDefaultPage
(
messaging
:
Messaging
)
:
SetAsDefaultPage
Parameters
messaging
:
Messaging
Returns
SetAsDefaultPage
Properties
messaging
messaging
:
SetAsDefaultPage
notify
notify
:
<
Method
extends
"reportInitException"
|
"reportPageException"
,
Msg
=
|
Extract
<
ReportInitExceptionNotification
,
{
method
:
Method
}
>
|
Extract
<
ReportPageExceptionNotification
,
{
method
:
Method
}
>
,
>
(
...
args
:
Msg
extends
{
params
:
Params
}
?
[
Method
,
Params
]
:
[
Method
]
,
)
=>
void
request
request
:
<
Method
extends
"initialSetup"
,
Msg
=
Extract
<
InitialSetupRequest
,
{
method
:
Method
}
>
,
Return
=
Msg
extends
{
result
:
Result
}
?
Result
:
void
,
>
(
...
args
:
Msg
extends
{
params
:
Params
}
?
[
Method
,
Params
]
:
[
Method
]
,
)
=>
Promise
<
Return
>
Methods
initial
Setup
initialSetup
()
:
Promise
<
InitialSetupResponse
>
Returns
Promise
<
InitialSetupResponse
>
report
Init
Exception
reportInitException
(
params
:
{
message
:
string
}
)
:
void
Parameters
params
:
{
message
:
string
}
Returns
void
report
Page
Exception
reportPageException
(
params
:
{
message
:
string
}
)
:
void
Parameters
params
:
{
message
:
string
}
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
messaging
notify
request
Methods
initial
Setup
report
Init
Exception
report
Page
Exception
@duckduckgo/content-scope-scripts
Loading...