src/session/bq-project/bq-project.component.ts
selector | bq-project |
templateUrl | ./bq-project.component.html |
Inputs |
Outputs |
constructor(dispatcher: Dispatcher, actions$: Actions, resumer: ResumeSessionStrategy)
|
||||||||||||
Parameters :
|
baseUrl |
Type : string | null
|
Specifies a baseUrl to use when communication with the backend. Can be used to override the environment baseUrl for specific projects. |
channel |
Type : string | null
|
flow |
Type : string | null
|
Specifies the flow to start. Required together with project, unless a shortcut is specified. |
languageCode |
Type : string | null
|
parameters |
Type : QueryParameters | null
|
Additional parameters to start the project with. Can be used in conjunction with AQ_GetRequestParameters service. |
sessionId |
Type : string | null
|
Specifies a raw session id to resume as alternative to starting a shortcut or project |
sessionName |
Type : string
|
Default value : 'Main'
|
The name of the session to start. |
version |
Type : string | null
|
error |
Type : EventEmitter
|
This event is emitted when an error of some sort occurred for the session. |
expired |
Type : EventEmitter
|
This event is emitted when the shown session has expired. |
flowEnded |
Type : EventEmitter
|
This event is emitted when the current session's flow has ended. |
forbidden |
Type : EventEmitter
|
This event is emitted when the project could not be started because the current user is unauthorized. |
loaded |
Type : EventEmitter
|
This event is emitted when the project has been 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. |
unauthorized |
Type : EventEmitter
|
This event is emitted when the project could not be started because the current user is not logged in. |