ngx-skeleton-loader
Advanced tools
Changelog
[11.0.0][] - 2025-04-09
[style]
and [class]
, respectively. These directives are expected to be removed in future Angular versions, since their behavior can be replicated using native bindings. This change also reduces the initial bundle size for applications that don’t use these directives.Changelog
[10.0.0][] - 2025-01-24
Thanks to @lekhmanrus
@angular/*
packages to v19 - https://github.com/willmendesneto/ngx-skeleton-loader/pull/179PUBLISHING_HOTFIX.md
file describing all the steps to cover a hotfix in older version of NGX-Skeleton-Loader moduleChangelog
[9.0.0][] - 2024-01-13
@angular/*
packages to v17Changelog
[8.1.0][] - 2023-09-12
Changelog
[8.0.1][] - 2023-08-30
Changelog
[8.0.0][] - 2023-06-20
@angular/*
packages;perf-marks
dependency library;Changelog
[7.0.0][] - 2023-02-04
NgxSkeletonLoaderModule.forRoot({ theme: /* ...list of CSS atributes */} })
By default when using NgxSkeletonLoaderModule.forRoot({ theme: /* ...list of CSS atributes */} })
the application is using this value as source of truth, overriding any local theming passed to <ngx-skeleton-loader>
component via [theme]
input.
By using NgxSkeletonLoaderModule.forRoot({ theme: { extendsFromRoot: true, /* ...list of CSS atributes */} })
in your application, you should also be aware that:
<ngx-skeleton-loader>
component will use theme
coming from NgxSkeletonLoaderModule.forRoot()
as the source of truth<!--
// ... E.G: App is using this configuration below
NgxSkeletonLoaderModule.forRoot({
theme: {
// Enabliong theme combination
extendsFromRoot: true,
// ... list of CSS theme attributes
height: '30px',
},
}),
-->
<div class="item">
<ngx-skeleton-loader></ngx-skeleton-loader>
<!-- above line will produce a skeleton component using `height: 30px;`" -->
<ngx-skeleton-loader [theme]="{background: 'blue'}"></ngx-skeleton-loader>
<!-- above line will produce a skeleton component using `height: 30px; background: blue;`" -->
<ngx-skeleton-loader [theme]="{height: '50px', background: 'red'}"></ngx-skeleton-loader>
<!-- above line will produce a skeleton component using `height: 50px; background: red;`" -->
</div>
custom-content
appearance. From now on, consumers can now add their own content inside <ng-skeleton-loader></ng-skeleton-loader>
component. So that, they can add some custom content, such as SVG, as an examplecustom-content
usageChangelog
[6.0.0][] - 2022-08-18
.loader
to .skeleton-loader
The CSS class used as namespace was changed. Previously, it was called .loader
and now is .skeleton-loader
. It might cause some issues in cases of :host
DOM style scoping usage. For the sake of semantic versioning, please bear in mind this scenario in case of :host
usage.
Changelog
[5.0.0][] - 2022-02-08
Thanks @yharaskrik
Bundle distribution are now esm2020
, fesm2015
and fesm2020
. UMD and CommonJS versions were support were removed from Angular CLI directly. So the next version for the package will be a major version to cover these changes accordingly.
@angular/cli
to v13fesm2020