Gathering detailed insights and metrics for svelte-c-reveal
Gathering detailed insights and metrics for svelte-c-reveal
npm install svelte-c-reveal
Typescript
Module System
Node Version
NPM Version
Svelte (89.78%)
JavaScript (10.22%)
Total Downloads
765
Last Day
1
Last Week
1
Last Month
1
Last Year
89
4 Stars
8 Commits
2 Watching
7 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.1
Package Id
svelte-c-reveal@2.0.1
Unpacked Size
41.71 kB
Size
6.56 kB
File Count
7
NPM Version
6.14.8
Node Version
12.18.3
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-50%
1
Compared to previous month
Last year
-11%
89
Compared to previous year
4
Simple Svelte (<3) component for reveal on scroll
1<script> 2 import Reveal from "svelte-c-reveal"; 3</script> 4 5<Reveal> Content to be revealed </Reveal> 6 7<Reveal trigger="0.1" reveal="fadeInUp"> 8 Trigger when 10% is in viewport 9</Reveal> 10 11<Reveal trigger="0.5" reveal="fadeInUp"> 12 Trigger in center of viweport (50%) 13</Reveal>
1<script> 2 import Reveal from "svelte-c-reveal"; 3</script> 4 5<Reveal trigger="0.5" reveal="fadeInUp" hide="fadeOutDown"> 6 <h1>My revealed content</h1> 7 <p>Hello I'm here!</p> 8</Reveal>
Name | Value | Desc |
---|---|---|
reveal | String | Reveal effect |
hide | String | Reveal out (hide) effect |
trigger | Float | (0.0 to 1.0) When the reveal will trigger -> (viewport height * trigger) |
duration | Css value | (number) Duration of the transition in seconds without "s" |
delay | Css value | (number) Time delayed in seconds without "s" |
Name |
---|
fadeIn |
fadeOut |
fadeInUp [default] |
fadeOutUp |
fadeInDown |
fadeOutDown |
fadeInRotateX |
fadeOutRotateX |
fadeInRotateY |
fadeOutRotateY |
fadeInLeft |
fadeOutLeft |
fadeInRight |
fadeOutRight |
1<script> 2 import Reveal from "svelte-c-reveal"; 3</script> 4<style> 5 .myfx { 6 animation-name: myanimation; 7 } 8 @keyframes myanimation { 9 0% { 10 opacity: 0; 11 transform: rotate(90deg) scale(0); 12 } 13 100% { 14 opacity: 1; 15 transform: rotate(0deg) scale(1); 16 } 17 } 18</style> 19 20<Reveal trigger="0.5" reveal="myfx"> The center of viweport </Reveal>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
Score
Last Scanned on 2024-12-30
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