@nativescript-community/ui-zoomimage
Version:
Zoomable image view based on @nativescript-community/ui-image
40 lines (35 loc) • 1.72 kB
JavaScript
import * as i0 from '@angular/core';
import { Directive, NgModule } from '@angular/core';
import { registerElement } from '@nativescript/angular';
import { ZoomImg } from '@nativescript-community/ui-zoomimage';
class ImgDirective {
constructor() { }
static ɵfac = function ImgDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ImgDirective)(); };
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImgDirective, [{
type: Directive,
args: [{
selector: 'NSImg'
}]
}], () => [], null); })();
const NSIMG_DIRECTIVES = [ImgDirective];
class TNSZoomImageModule {
static ɵfac = function TNSZoomImageModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TNSZoomImageModule)(); };
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSZoomImageModule });
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSZoomImageModule, [{
type: NgModule,
args: [{
imports: [NSIMG_DIRECTIVES],
exports: [NSIMG_DIRECTIVES]
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSZoomImageModule, { imports: [ImgDirective], exports: [ImgDirective] }); })();
registerElement('NSZoomImg', () => ZoomImg);
/**
* Generated bundle index. Do not edit.
*/
export { ImgDirective, TNSZoomImageModule };
//# sourceMappingURL=nativescript-community-ui-zoomimage-angular.mjs.map