ngx-extended-pdf-viewer
Version:
Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.
27 lines (26 loc) • 900 B
TypeScript
import { SafeHtml } from '@angular/platform-browser';
import { ResponsiveCSSClass } from '../../responsive-visibility';
import { PdfShyButtonComponent } from './pdf-shy-button.component';
import * as i0 from "@angular/core";
export interface PdfShyButtonDescription {
id: string;
cssClass: ResponsiveCSSClass;
l10nId: string;
l10nLabel: string;
title: string;
toggled: boolean;
disabled: boolean;
order: number;
image: SafeHtml;
action?: () => void;
eventBusName?: string;
closeOnClick?: boolean;
}
export declare class PdfShyButtonService {
buttons: PdfShyButtonDescription[];
add(button: PdfShyButtonComponent): void;
private addDefaultPrefix;
update(button: PdfShyButtonComponent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PdfShyButtonService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PdfShyButtonService>;
}