Gathering detailed insights and metrics for placeholder-loading
Gathering detailed insights and metrics for placeholder-loading
Gathering detailed insights and metrics for placeholder-loading
Gathering detailed insights and metrics for placeholder-loading
npm install placeholder-loading
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
1,481 Stars
167 Commits
149 Forks
25 Watching
3 Branches
4 Contributors
Updated on 08 Nov 2024
HTML (66.16%)
SCSS (17.5%)
JavaScript (16.35%)
Cumulative downloads
Total Downloads
Last day
5.3%
1,820
Compared to previous day
Last week
4.8%
9,118
Compared to previous week
Last month
5%
38,439
Compared to previous month
Last year
-0.4%
522,478
Compared to previous year
Simple and flexible, css only, content placeholder loading animation.
https://zalog.github.io/placeholder-loading/
Take a look at this examples, but keep in mind that it's flexible enough to play with elements as you need.
You can change the order, add avatar or image, change text bar sizes, etc.
npm install placeholder-loading --save
@import "~/node_modules/placeholder-loading/src/scss/placeholder-loading";
- please modify the path accordingly1$ph-direction: ltr !default; 2$ph-bg: #fff !default; 3$ph-color: #ced4da !default; 4$ph-border: 1px solid darken($ph-bg, 10%) !default; 5$ph-border-radius: 2px !default; 6 7$ph-cols: 12 !default; 8$ph-cols-remove-odd: true !default; 9$ph-gutter: 30px !default; 10$ph-spacer: 15px !default; 11 12$ph-avatar-border-radius: 50% !default; 13 14$ph-animation-duration: 0.8s !default;
Just replace npm with bower: bower install placeholder-loading --save
1<head> 2 <link rel="stylesheet" href="https://unpkg.com/placeholder-loading/dist/css/placeholder-loading.min.css"> 3</head>
A simple html markup would be something like this:
1<div class="ph-item"> 2 <div class="ph-col-12"> 3 <div class="ph-picture"></div> 4 <div class="ph-row"> 5 <div class="ph-col-6 big"></div> 6 <div class="ph-col-4 empty big"></div> 7 <div class="ph-col-2 big"></div> 8 <div class="ph-col-4"></div> 9 <div class="ph-col-8 empty"></div> 10 <div class="ph-col-6"></div> 11 <div class="ph-col-6 empty"></div> 12 <div class="ph-col-12"></div> 13 </div> 14 </div> 15</div>
grid classes: .ph-col-2
, .ph-col-4
, .ph-col-6
, .ph-col-8
, .ph-col-10
, .ph-col-12
elements inside: .ph-avatar
and .ph-picture
use .big
for bigger text line
Please read Angular's CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/15 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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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