Updated packagr
- [#24] - Error: Please add a @NgModule annotation in 1.3.0
- [#23] - Restructure
Distribute now generates different files. Use bundles/ngx-img-fallback.umd.js
or its minified version bundles/ngx-img-fallback.umd.min.js
.
- [19] - Support server side rendering
- [18] - Wrong contents for 1.1.2 in npm
- [#13] - Fallback image not loaded when the dynamic image source changed
- Generate UMD bundle
This breaking change only valid for SYSTEMJS
approach,
Now you have to do this in you system.config.js
file:
Replace in your packages
var packages = {
...
'ngx-img-fallback': { main: 'dist/bundles/ngx-img-fallback.umd.js' }
}
- [#15] - Rename project
- [#14] - Angular 4
- [#11] - Added
(loaded)
event
- [#10] - Error Ionic2 run android device
Now instead of declaring Ng2ImgFallbackModule
you need to import it:
@NgModule({
imports: [BrowserModule, Ng2ImgFallbackModule],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
- [#10] - Error Ionic2 run android device
Now instead of declaring Ng2ImgFallback
you need to import it:
@NgModule({
imports: [BrowserModule, Ng2ImgFallback],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
- [#8] - Fixed typings (Can't find main.d.ts file)