2.0.0 • Published 5 years ago

react-seasonal-background v2.0.0

Weekly downloads
17
License
ISC
Repository
github
Last release
5 years ago

Seasonal Backgrounds

Live example: Here

alt text

Example:

<SeasonalBackground
  background='https://png.pngtree.com/thumb_back/fw800/back_our/20190619/ourmid/pngtree-company-profile-corporate-culture-brochure-cross-page-design-background-material-image_131621.jpg'
  droplet='https://cdn.pixabay.com/photo/2012/04/26/12/37/dollar-42338_960_720.png'
  season='winter'
  fadeLength='4'
  fadeDelay='2'
  development
>
  <h1>Hello World!</h1>
</SeasonalBackground>
KeyTypeRequiredOptions/Action
backgroundStringNoPath to image
dropletStringNoPath to image
seasonStringNowinter, spring, summer, fall
fadeLengthNumberNo
fadeDelayNumberNo
developmentBooleanNoDisplays dropdown to select season

Notes:

  • Setting custom background and/or droplet will override defaults
  • Setting custom season will set correlating season's background/droplet and fall/sway animation.
  • If a custom background/droplet is set, setting season will set the correlating fall/sway animation
  • Versions 2.0.0 and above will remove innerContent and instead use elements wrapped in <SeasonalBackground></SeasonalBackground> tags
2.0.0

5 years ago

1.8.11

5 years ago

1.8.10

5 years ago

1.8.9

5 years ago

1.8.8

5 years ago

1.8.7

5 years ago

1.8.6

5 years ago

1.8.5

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago