Gathering detailed insights and metrics for ngx-content-loading
Gathering detailed insights and metrics for ngx-content-loading
Gathering detailed insights and metrics for ngx-content-loading
Gathering detailed insights and metrics for ngx-content-loading
@ngx-translate/http-loader
http loader for dynamically loading translation files for @ngx-translate/core
@ngx-loading-bar/core
Automatic page loading / progress bar for Angular
@ngx-loading-bar/http-client
Automatic page loading / progress bar for Angular
@ngx-loading-bar/router
Automatic page loading / progress bar for Angular
npm install ngx-content-loading
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
127 Stars
37 Commits
21 Forks
7 Watching
16 Branches
1 Contributors
Updated on 19 Nov 2023
TypeScript (68.53%)
HTML (23.23%)
JavaScript (8.24%)
Cumulative downloads
Total Downloads
Last day
-13.9%
155
Compared to previous day
Last week
-10.7%
922
Compared to previous week
Last month
-3.5%
3,895
Compared to previous month
Last year
-36.1%
48,105
Compared to previous year
1
4
Angular component to create SVG loading placeholders. Inspired by the awesome React Content Loader.
Have a look at a demo app on Stackblitz
npm i --save ngx-content-loading
1import { NgxContentLoadingModule } from 'ngx-content-loading'; 2 3@NgModule({ 4 imports: [ NgxContentLoadingModule ] 5}) 6export class AppModule {} 7
1<ngx-content-loading [width]="800"> 2 <svg:g ngx-facebook-preset></svg:g> 3</ngx-content-loading> 4 5<ngx-content-loading [width]="800" [height]="800"> 6 <svg:g ngx-instagram-preset></svg:g> 7</ngx-content-loading>
- ngx-facebook-preset
- ngx-instagram-preset
- ngx-code-preset
- ngx-list-preset
- ngx-bullet-list-preset
1<ngx-content-loading 2 [speed]="'1500ms'" 3 [width]="1000" 4 [height]="300" 5 [primaryColor]="'#222'" 6 [secondaryColor]="'#5e5e5e'"> 7 <svg:g ngx-circle cy="30" cx="30" r="30" ry="5"></svg:g> 8 <svg:g ngx-rect width="150" height="10" y="10" x="70" rx="5" ry="5"></svg:g> 9 <svg:g ngx-rect width="90" height="10" y="40" x="70" rx="5" ry="5"></svg:g> 10 <svg:g ngx-rect width="210" height="10" y="70" x="0" rx="5" ry="5"></svg:g> 11 <svg:g ngx-rect width="240" height="10" y="100" x="0" rx="5" ry="5"></svg:g> 12 </ngx-content-loading>
Name | Type | Default | Description |
---|---|---|---|
speed | Number | 1000ms | Animation speed specified in s or ms |
width | Number | 400 | viewBox width of SVG |
height | Number | 130 | viewBox height of SVG |
primaryColor | String | #f3f3f3 | Background the SVG |
secondaryColor | String | #ecebeb | Animation color |
preserveAspectRatio | String | xMidYMid meet | Aspect ratio option of SVG |
1<ngx-content-loading 2 [speed]="'1500ms'" 3 [width]="1000" 4 [height]="300" 5 [primaryColor]="'#222'" 6 [secondaryColor]="'#5e5e5e'"> 7 <b before-svg> 8 I am transcluded before the svg 9 </b> 10 <svg:g ngx-circle cy="30" cx="30" r="30" ry="5"></svg:g> 11 <svg:g ngx-rect width="150" height="10" y="10" x="70" rx="5" ry="5"></svg:g> 12 <svg:g ngx-rect width="90" height="10" y="40" x="70" rx="5" ry="5"></svg:g> 13 <svg:g ngx-rect width="210" height="10" y="70" x="0" rx="5" ry="5"></svg:g> 14 <svg:g ngx-rect width="240" height="10" y="100" x="0" rx="5" ry="5"></svg:g> 15 16 <b after-svg> 17 I am transcluded after the svg 18 </b> 19 </ngx-content-loading>
Fork the repo then clone it
$ git clone git@github.com:YourUsername/ngx-content-loading.git && cd ngx-content-loading
Install the dependencies
$ yarn
or npm i
Run the demo app
$ npm start
Please notice this is a work in progress and may not be ready for production usage.
More presets and options will follow soon :)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
70 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More