UNPKG

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.

23 lines 3.3 kB
import { Component, Input } from '@angular/core'; export class PdfFindbarComponent { constructor() { this.showFindButton = true; } } PdfFindbarComponent.decorators = [ { type: Component, args: [{ selector: 'pdf-findbar', template: "<ng-container [ngTemplateOutlet]=\"customFindbar ? customFindbar : defaultFindbar\">\n</ng-container>\n\n<ng-template #defaultFindbar>\n <div\n class=\"findbar hidden doorHanger\"\n [class.invisible]=\"!showFindButton\"\n id=\"findbar\"\n [style.transform]=\"'scale(' + mobileFriendlyZoomScale + ')'\"\n [style.transformOrigin]=\"'left center'\"\n [style.left]=\"findbarLeft\"\n [style.top]=\"findbarTop\"\n >\n <ng-container [ngTemplateOutlet]=\"customFindbarButtons ? customFindbarButtons : defaultFindbarButtons\"> </ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultFindbarButtons>\n <pdf-find-input-area [customFindbarInputArea]=\"customFindbarInputArea\"></pdf-find-input-area>\n <pdf-findbar-options-one-container></pdf-findbar-options-one-container>\n <pdf-findbar-options-two-container></pdf-findbar-options-two-container>\n <pdf-findbar-options-three-container></pdf-findbar-options-three-container>\n <pdf-findbar-message-container></pdf-findbar-message-container>\n</ng-template>\n", styles: [""] },] } ]; PdfFindbarComponent.propDecorators = { showFindButton: [{ type: Input }], mobileFriendlyZoomScale: [{ type: Input }], findbarLeft: [{ type: Input }], findbarTop: [{ type: Input }], customFindbarInputArea: [{ type: Input }], customFindbar: [{ type: Input }], customFindbarButtons: [{ type: Input }] }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLWZpbmRiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIvc3JjL2xpYi90b29sYmFyL3BkZi1ma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