1.0.2 • Published 6 years ago

@veams/component-slide-fox v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Slide Fox

Description

Represents an element that slides into view when it's scrolled into the viewport.


Requirements


Installation

Installation with Veams

veams install component slide-fox
veams -i c slide-fox

Fields

slide-fox.hbs

The partial is a \{{#wrapWith}} helper. Documentation for wrapWith helper.

Settings

ParameterTypeValueDescription
settings.slideFoxContextClassStringdefaultContext class of component.
settings.slideFoxClassesStringModifier classes for component.
settings.slideFoxJsOptionsObjectJavaScript options which gets stringified.

JavaScript Options

The module gives you the possibility to override default options:

OptionTypeDefaultDescription
visibleClassString'is-visible'Class to be set when Slide Fox becomes visible.
repeatAnimationBooleantrueThe slide-fox animation will repeat each time it enters the viewport.
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago