stimulsoft-viewer-angular
Version:
The Viewer component is designed to view reports and dashboards in the web browser.
30 lines (29 loc) • 1.21 kB
TypeScript
import { OnInit, ElementRef, AfterViewInit } from '@angular/core';
import { ModelService } from '../services/model.service';
import { ControllerService } from '../services/controller.service';
import * as i0 from "@angular/core";
export declare class PageComponent implements OnInit, AfterViewInit {
model: ModelService;
controller: ControllerService;
element: ElementRef;
pageAttributes: any;
private touchesLength;
private lastTouches;
private touchAllowPageAction;
private touchAllowScroll;
private touchStartX;
private touchStartScrollY;
private touchPosX;
constructor(model: ModelService, controller: ControllerService);
ngOnInit(): void;
ngAfterViewInit(): void;
get margins(): number[];
get pageWidth(): number;
get pageHeight(): number;
eventTouchStart(e: any): void;
eventTouchMove(e: any): void;
eventTouchEnd(e: any): void;
translateX(value: number): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "sti-page", never, { "pageAttributes": { "alias": "pageAttributes"; "required": false; }; }, {}, never, never, false, never>;
}