Skip to content

Commit 657ed41

Browse files
mzanevighristov
authored andcommitted
Update commands.md (#1760)
1 parent def83b3 commit 657ed41

File tree

1 file changed

+4
-1
lines changed
  • embedding-reports/display-reports-in-applications/web-application/native-angular-report-viewer/api-reference

1 file changed

+4
-1
lines changed

embedding-reports/display-reports-in-applications/web-application/native-angular-report-viewer/api-reference/commands.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export class AppComponent {
104104
{ name: 'setAuthenticationToken', commandName: 'setAuthenticationToken', commandValue: 'Sample Authentication Token' },
105105
{ name: 'printReport', commandName: 'printReport' },
106106
{ name: 'toggleSearchWindow', commandName: 'toggleSearchWindow' },
107+
{ name: 'toggleAiPromptWindow', commandName: 'toggleAiPromptWindow' },
107108
]
108109

109110
public execute(commandName: string, commandValue?: any): void {
@@ -119,18 +120,20 @@ export class AppComponent {
119120
|navigateBackward|none|Goes back to the previously rendered report from history.|
120121
|navigateForward|none|Goes forward to the previously rendered report from history.|
121122
|refreshReport|none|Refreshes the report.|
123+
|stopRendering|none|Stops the current report rendering.|
122124
|navigateToFirstPage|none|Goes to the first page of the report.|
123125
|navigateToPrevPage|none|Goes to the previous page of the report.|
124126
|navigateToNextPage|none|Goes to the next page of the report.|
125127
|navigateToLastPage|none|Goes to the last page of the report.|
126128
|setViewMode|none|Toggles between Print Preview and Interactive view modes.|
127129
|setScaleMode| An object with `scaleMode`(and `scale` for'specific' scale mode is used)|Changes the viewer's scaleMode|
128-
|setReportSource| An object with `report` and `parameters` properties| Changes the report souce and refreshes the viewer.|
130+
|setReportSource| An object with `report` and `parameters` properties| Changes the report source and refreshes the viewer.|
129131
|setAuthenticationToken | authentication token| A bearer token to be added in the Authorization token of each request|
130132
|exportReport|rendering extension name|Exports the report, using the respective rendering extension name.|
131133
|printReport|none|Triggers the report printing.|
132134
|toggleDocumentMap|none|Shows or hides the document map.|
133135
|toggleParametersSection|none|Shows or hides the parameters area.|
134136
|toggleSearchWindow|none|Shows or hides the search dialog.|
137+
|toggleAiPromptWindow|none|Shows or hides the AI prompt dialog.|
135138
|zoomIn|none|Zoom-in the report.|
136139
|zoomOut|none|Zoom-out the report.|

0 commit comments

Comments
 (0)