Preparing search index...
The search index is not available
sesaparcours
sesaparcours
types
<internal>
OriginValidator
Type Alias OriginValidator
Origin
Validator
:
(
(
origin
:
string
)
=>
boolean
)
|
"same-origin"
|
"none"
Specify behavior for origin validation.
Value
Description
"same-origin"
The origin of received message must be the same of hosted window, instead exception will throw.
(origin: string) => boolean
The callback to verify origin to be expected validation. When callback return
false
value, message will rejected and exception will throw.
"none"
No origin validation for post messages.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
sesaparcours
Loading...
Specify behavior for origin validation.
"same-origin"
(origin: string) => boolean
false
value, message will rejected and exception will throw."none"