ngx-skeleton-loader
Advanced tools
Changelog
[11.2.0][] - 2025-06-09
pulse-dark
animationnpm install
to npm ci
on Circle CI pipelineChangelog
[11.1.0][] - 2025-05-19
provideNgxSkeletonLoader()
provideNgxSkeletonLoader()
supportChangelog
[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
usage