-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathapp.ts
More file actions
25 lines (23 loc) · 957 Bytes
/
app.ts
File metadata and controls
25 lines (23 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Component, ViewEncapsulation } from '@angular/core';
import { DxReportViewerModule } from 'devexpress-reporting-angular';
@Component({
selector: 'app-root',
encapsulation: ViewEncapsulation.None,
imports: [DxReportViewerModule],
templateUrl: './app.html',
styleUrls: [
"../../node_modules/devextreme/dist/css/dx.light.css",
"../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.common.css",
"../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.light.css",
"../../node_modules/devexpress-reporting/dist/css/dx-webdocumentviewer.css"
]
})
export class App {
title = 'DXReportViewerSample';
reportUrl: string = 'TestReport';
hostUrl: string = 'http://localhost:5000/';
// Use this line if you use an ASP.NET MVC backend
//invokeAction: string = "/WebDocumentViewer/Invoke";
// Use this line if you use an ASP.NET Core backend
invokeAction: string = '/DXXRDV';
}