A collection of libraries intended to augment the development of Modern JS (ES6+) targeted applications.
Is it open?
Yes, it is released under the MIT License, See LICENSE.md.
Where do I start?
1. Install the NPM module.
npm install --save-dev estoolbox
2. Import and use the desired component.
Provides the ability to affix content to the top of the window on scroll.
import {Affix} from "estoolbox";
Affix.top(".top-nav", ".content");
@import "estoolbox/affix";
.my-nav {
@include affix();
height: 300px;
}
.my-content {
@include affix-buffer(300px);
}
This scss example assumes you have added estoolbox to your load path, such that estoolbox maps to associated the node_modules directory.
Provides the ability to perform actions based on changes in the URL hash.
import {Router} from "estoolbox";
Router.when("/about", () => {
});
Want to learn more?
See our CONTRIBUTING.md guide for information regarding:
- project contributors
- dependencies
- testing
- releasing