Skip to content

View ​

Each app registers its own web component in the DOM. This can be used to embed app views inside of other app views.

Component ​

INFO

The HTML tag has the following format <alliance-view-{appName} />

jsx
<alliance-view-my-app capability="edit-action" args={{ id: 'the-object-id' }} />

Properties ​

PropertyTypeRequiredDefaultDescription
capabilitystringNo'launch'The target app capability.
argsobjectNo{}Serializeable Object with arguments to pass to the target capability.

Events ​

INFO

Since the host element is passed to the target view operation, each capability may dispatch other events. Refer to the target app's documentation to see which events a given view operation will emit.

EventDetailDescription
completeSerializeableObject | nullEmitted when the view operation is completed.