@nativescript-community/ui-image
Version:
Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.
34 lines (30 loc) • 1.5 kB
JavaScript
import { ɵɵdefineDirective, ɵsetClassMetadata, Directive, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
import { registerElement } from '@nativescript/angular';
import { Img } from '@nativescript-community/ui-image';
class ImgDirective {
constructor() { }
}
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
ImgDirective.ɵdir = ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
(function () { ɵsetClassMetadata(ImgDirective, [{
type: Directive,
args: [{
selector: 'NSImg'
}]
}], function () { return []; }, null); })();
const NSIMG_DIRECTIVES = [ImgDirective];
class TNSImageModule {
}
TNSImageModule.ɵmod = ɵɵdefineNgModule({ type: TNSImageModule });
TNSImageModule.ɵinj = ɵɵdefineInjector({ factory: function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); } });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(TNSImageModule, { declarations: [ImgDirective], exports: [ImgDirective] }); })();
(function () { ɵsetClassMetadata(TNSImageModule, [{
type: NgModule,
args: [{
declarations: [NSIMG_DIRECTIVES],
exports: [NSIMG_DIRECTIVES],
}]
}], null, null); })();
registerElement('NSImg', () => Img);
export { ImgDirective, TNSImageModule };
//# sourceMappingURL=nativescript-community-ui-image-angular.js.map