Interface: WebshellInvariantProps
Props all shell components will support.
Hierarchy
- WebshellInvariantProps
Properties
onWebFeatureError
• Optional
onWebFeatureError: (featureIdentifier: string,error: string) => void
Triggered when a feature script throws.
webHandleRef
• Optional
webHandleRef: Ref<WebHandle>
Pass a reference to send messages to the Web environment.
webshellDebug
• Optional
webshellDebug: boolean
Report Web error messages from features in the console.
defaultvalue
__DEV__
(true
in development, false
otherwise)
webshellStrictMode
• Optional
webshellStrictMode: boolean
If this prop is true
and webshellDebug
is true
, errors will be
thrown when inconsistencies are identified.
defaultvalue
false