react-lgpd-consent v0.9.1
Storybook
GitHub
NPM
Preparing search index...
core/src
RegisteredScript
Interface RegisteredScript
Tipos de props para o componente ConsentScriptLoader.
Category
Types
Since
0.4.1
interface
RegisteredScript
{
allowReload
?:
boolean
;
category
:
string
;
execute
:
()
=>
void
|
Promise
<
void
>
;
id
:
string
;
onConsentUpdate
?:
(
consent
:
{
consented
:
boolean
;
preferences
:
ConsentPreferences
}
,
)
=>
void
;
priority
?:
number
;
}
Index
Properties
allow
Reload?
category
execute
id
on
Consent
Update?
priority?
Properties
Optional
allow
Reload
allowReload
?:
boolean
category
category
:
string
execute
execute
:
()
=>
void
|
Promise
<
void
>
id
id
:
string
Optional
on
Consent
Update
onConsentUpdate
?:
(
consent
:
{
consented
:
boolean
;
preferences
:
ConsentPreferences
}
,
)
=>
void
Optional
priority
priority
?:
number
Settings
Member Visibility
Protegido
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
allow
Reload
category
execute
id
on
Consent
Update
priority
Storybook
GitHub
NPM
react-lgpd-consent v0.9.1
Loading...
Tipos de props para o componente ConsentScriptLoader.
Category
Types
Since
0.4.1