@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.
40 lines (35 loc) • 1.68 kB
JavaScript
import * as i0 from '@angular/core';
import { Directive, NgModule } from '@angular/core';
import { registerElement } from '@nativescript/angular';
import { Img } from '@nativescript-community/ui-image';
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 TNSImageModule {
static ɵfac = function TNSImageModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TNSImageModule)(); };
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TNSImageModule });
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TNSImageModule, [{
type: NgModule,
args: [{
declarations: [NSIMG_DIRECTIVES],
exports: [NSIMG_DIRECTIVES],
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [ImgDirective], exports: [ImgDirective] }); })();
registerElement('NSImg', () => Img);
/**
* Generated bundle index. Do not edit.
*/
export { ImgDirective, TNSImageModule };
//# sourceMappingURL=nativescript-community-ui-image-angular.mjs.map