Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enface/preloader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enface/preloader

Enface preloader animation

  • 1.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Enface Preloader

Usage

import Preloader from '@enface/preloader'

<Preloader />

Parameters

endPos Number, end of axis top point, 310 by default

duration Number, animation duration, 1500 by default

offsetLine Number, count of pixels that the line touches when passing, 50 by default

dotScaleSize Number, dot's increase size when passing the line 1.4 by default

dotHorizontalOffset Number, horizontal dot's offset 0.05 by default

restartDelay Number, how long the animation will stop after passing the line, 0 by default

fillStyle object with 2 keys: first and second, changing color for animation. String with rgb color.

fillStyle = { first:, 'rgb(55, 164, 255)', second: 'rgb(255,255,255', } by default

FAQs

Package last updated on 10 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc