veams-component-slide-fox
v5.1.1
Published
Represents an element that slides into view when it's scrolled into viewport.
Downloads
10
Readme
Slide Fox
Description
Represents an element that slides into view when it's scrolled into viewport.
Requirements
Veams >= v5.0.0
- Veams Framework.
Installation
Installation with Veams
veams install vc slide-fox
Fields
slide-fox.hbs
The partial is a wrapWith
partial.
Settings
- settings.slideFoxContextClass {
String
} [default] - Context class of component. - settings.slideFoxClasses {
String
} - Modifier classes for component. - settings.slideFoxJsOptions {
Object
} - JavaScript options which gets stringified.
JavaScript Options
The module gives you the possibility to override default options:
- visibleClass {
String
} ['is-visible'] - Class to be set when Slide Fox becomes visible.