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.

28 lines 2.77 kB
/** * @fileoverview added by tsickle * Generated from: lib/toolbar/pdf-presentation-mode/pdf-presentation-mode.component.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, Input } from '@angular/core'; var PdfPresentationModeComponent = /** @class */ (function () { function PdfPresentationModeComponent() { this.showPresentationModeButton = true; } PdfPresentationModeComponent.decorators = [ { type: Component, args: [{ selector: 'pdf-presentation-mode', template: "<button type=\"button\"\n [class.invisible]=\"!showPresentationModeButton\"\n id=\"presentationMode\"\n class=\"toolbarButton hiddenLargeView\"\n title=\"Switch to Presentation Mode\"\n data-l10n-id=\"presentation_mode\">\n <svg style=\"width:27px;height:27px\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z\" />\n </svg>\n <span data-l10n-id=\"presentation_mode_label\">Presentation Mode</span>\n </button>\n", styles: [":host button.toolbarButton{margin-top:0}:host:focus{outline:0}button:focus,svg:focus{outline:0}"] }] } ]; PdfPresentationModeComponent.propDecorators = { showPresentationModeButton: [{ type: Input }] }; return PdfPresentationModeComponent; }()); export { PdfPresentationModeComponent }; if (false) { /** @type {?} */ PdfPresentationModeComponent.prototype.showPresentationModeButton; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXByZXNlbnRhdGlvbi1tb2RlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1leHRlbmRlZC1wZGYtdmlld2VyLyIsInNvdXJjZXMiOlsibGliL3Rvb2xiYXIvcGRmLXByZXNlbnRhdGlvbi1tb2RlL3BkZi1wcmVzZW50YXRpb24tbW9kZS5jb21wb25lbnQudHMiXSwibm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