1.2.37 • Published 1 year ago
@keodesign/logo-scroller v1.2.37
Logo Scroller
This utility class does a scrolling animation that we normally used for sponsor/brand logos CSS to include in the site to complement this functionality.
Class Parameters
- @param {String} containerId container for querying
- @param {String} childrenSelector children selector for querying
- @param {String} direction Can be left or right. The default value is left
- @param {String} speed pixels per ms. The default value is 5
CSS Style
.slider{
display: inline-flex;
flex-wrap: nowrap;
width: 100%;
overflow: hidden;
align-items: stretch;
.card{
//children should have an display inline property
}
}
Sample Usage:
import logoScroller from '@keodesign/logo-scroller';
logoScroller('.slider', ".card", "left", 1);
Live Example
1.2.37
1 year ago
1.2.32
2 years ago
1.2.36
2 years ago
1.2.30
2 years ago
1.2.27
2 years ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.2.4
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago