You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
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.18
Source
npmnpm
Version published
Weekly downloads
12
9.09%
Maintainers
1
Weekly downloads
 
Created
Source

apple-tv-parallax

Dependency Status FOSSA Status 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' }}
/>;

License

FOSSA Status

Keywords

React

FAQs

Package last updated on 06 Mar 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