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

@dreamsparkx/parallax

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamsparkx/parallax

apple tv parallax

  • 2.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
39
increased by39.29%
Maintainers
1
Weekly downloads
 
Created
Source

apple-tv-parallax

Dependency Status CircleCI semantic-release Apple TV Parallax npm

Live Demo: https://dreamsparkx.github.io/apple-tv-parallax/

Install

npm i @dreamsparkx/parallax

API

StepDescription
layersThe images will be stacked on top of each other and the last element/image will be at the top.
isStaticWhen you pass true, it disables the parallex effect, and shows the flattened image instead. (optional)
stylePass on css properties (optional)
classNamePass on className (optional).

Example

import { Parallax } from '@dreamsparkx/parallax';

<Parallex
  layers={[
    '/assets/images/back.png',
    '/assets/images/front.png',
  ]}
  isStatic={false}
  style={{ flex: 0.21, height: 100, textAlign: 'center' }}
/>

Keywords

FAQs

Package last updated on 08 Nov 2020

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