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
Property | Type | Required | Default | Description |
---|---|---|---|---|
capability | string | No | 'launch' | The target app capability. |
args | object | No | {} | 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.
Event | Detail | Description |
---|---|---|
complete | SerializeableObject | null | Emitted when the view operation is completed. |