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 • 2.65 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,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{margin-top:-3px}: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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXByZXNlbnRhdGlvbi1tb2RlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1leHRlbmRlZC1wZGYtdmlld2VyLyIsInNvdXJjZXMiOlsibGliL3Rvb2xiYXIvcGRmLXByZXNlbnRhdGlvbi1tb2RlL3BkZi1wcmVzZW50YXRpb24tbW9kZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztB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