SpartanJS is a collection of small, simple, no-nonsense, but functional JavaScript components.
These components are designed to be compact and functional, without adding things you're not going to need. Each component focusses on doing one task and one task only without the unnecessary bulk from endless lists of convenience methods.
Spartan components let you stick to VanillaJS as much as possible.
SpartanJS currently contains the following components
- Type, a Type-checking library.
- Dom, a QuerySelectAll wrapper.
- Event, a simple Event handler.
- DomReady, a custom dom ready event handler.
- DomEvent, an Event handler for DOM events, supports event delegation.
- Style, get and set css styles.
- Animate, tween between css styles or translate css styles over time, using WindowAnimationTiming (or a polyfill).
- Easing, custom easing functions for Animate.
SpartanJS is still in development and should be considered relatively unstable. API's can and probably will change, components might be added or split up.
The absolute basics of the library have been tested, but you should expect anything could be broken by a new commit.
Browser support is currently not actively tested, but this should change in the near future. That said, SpartanJS aims to support (for now):
- Chrome
- Firefox
- Safari
- IE8+
The exact goals for Mobile device support are still undecided at this point but the goal is to provide reasonable support for IOS and Android users.