@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.
50 lines (44 loc) • 2.54 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@nativescript/angular'), require('@nativescript-community/ui-image')) :
typeof define === 'function' && define.amd ? define('@nativescript-community/ui-image-angular', ['exports', '@angular/core', '@nativescript/angular', '@nativescript-community/ui-image'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['nativescript-community'] = global['nativescript-community'] || {}, global['nativescript-community']['ui-image-angular'] = {}), global.ng.core, global['ns-angular'], global['ns-image']));
}(this, (function (exports, i0, angular, uiImage) { 'use strict';
var ImgDirective = /** @class */ (function () {
function ImgDirective() {
}
return ImgDirective;
}());
ImgDirective.ɵfac = function ImgDirective_Factory(t) { return new (t || ImgDirective)(); };
ImgDirective.ɵdir = i0.ɵɵdefineDirective({ type: ImgDirective, selectors: [["NSImg"]] });
(function () {
i0.ɵsetClassMetadata(ImgDirective, [{
type: i0.Directive,
args: [{
selector: 'NSImg'
}]
}], function () { return []; }, null);
})();
var NSIMG_DIRECTIVES = [ImgDirective];
var TNSImageModule = /** @class */ (function () {
function TNSImageModule() {
}
return TNSImageModule;
}());
TNSImageModule.ɵmod = i0.ɵɵdefineNgModule({ type: TNSImageModule });
TNSImageModule.ɵinj = i0.ɵɵdefineInjector({ factory: function TNSImageModule_Factory(t) { return new (t || TNSImageModule)(); } });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TNSImageModule, { declarations: [ImgDirective], exports: [ImgDirective] }); })();
(function () {
i0.ɵsetClassMetadata(TNSImageModule, [{
type: i0.NgModule,
args: [{
declarations: [NSIMG_DIRECTIVES],
exports: [NSIMG_DIRECTIVES],
}]
}], null, null);
})();
angular.registerElement('NSImg', function () { return uiImage.Img; });
exports.ImgDirective = ImgDirective;
exports.TNSImageModule = TNSImageModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=nativescript-community-ui-image-angular.umd.js.map