Returns a registered component The component may not be fully ready.
Returns whether a component exists for the specified code
Hide a UI component once it is ready. For bundled components, this requires them to have been configured in batchSDK.setup()
Register a new component for the specified code.
Register a new component for the specified code, after waiting for other components to have been registered
Show a UI component once it is ready. For bundled components, this requires them to have been configured in batchSDK.setup()
Some components will refuse to show even when calling this method because it might not make sense. For example, the banner will not honor the request if it has been dismissed recently (unless configured otherwise) or if the user is already subscribed to notifications.
You can try to set the force parameter to true, asking it to display itself no matter what.
If you call this method, you probably want to set "autoShow": false in your UI component configuration
Returns a promise that is resolved when the specified UI component has been drawn, returning the wrapped component.
Generated using TypeDoc