File

src/session/bq-session/bq-session.component.ts

Implements

OnChanges OnInit OnDestroy

Metadata

providers BlueriqSession
selector bq-session
templateUrl ./bq-session.component.html

Index

Properties
Inputs
Outputs

Constructor

constructor(sessionRegistry: SessionRegistry, actions$: Actions, scopedSession: BlueriqSession)
Parameters :
Name Type Optional
sessionRegistry SessionRegistry No
actions$ Actions No
scopedSession BlueriqSession No

Inputs

sessionName

The name of the session to show. The session is assumed to have been started from outside of the component. The session does not need to be available immediately, the session's registration in the global SessionRegistry will be automatically picked up.

Type : string

Outputs

error

This event is emitted when an error of some sort occurred for the session.

$event Type: EventEmitter
expired

This event is emitted when the shown session has expired.

$event Type: EventEmitter
flowEnded

This event is emitted when the current session's flow has ended.

$event Type: EventEmitter
loaded

This event is emitted when the session has loaded. This event may emit multiple times, for instance when AQ_StartProject is used to start a new project, a new Blueriq session is loaded.

$event Type: EventEmitter

Properties

pageModel
pageModel: PageModel | null
Type : PageModel | null
Default value : null

The currently shown page model. When the initial session is still loading, this will be null. Once a session becomes available its page model will be captured here in order for its page to be shown.

<ng-container *ngIf="pageModel?.page">
  <ng-container [bqElement]="pageModel!.page"></ng-container>
</ng-container>

result-matching ""

    No results matching ""