moving-cost-calculator
v0.3.9
Published
Calculate the cost for your move
Downloads
5
Maintainers
Readme
Moving Cost Calculator (Demo)
Calculate the cost for your move
Doc
- Installation
Simply import MovingCostCalculator into your HTML.
<link rel="stylesheet" type="text/css" href="https://unpkg.com/moving-cost-calculator/MovingVolumeCalculator.min.css">
<script src="https://unpkg.com/moving-cost-calculator/MovingCostCalculator.min.js"></script>
- How to use
Create a new MovingCostCalculator
object with a query String or an Element as the first parameter :
let movingCostCalculator = new MovingCostCalculator('div.with[any="selector"]', options);
// OR
let element = document.querySelector('li.terally[any="thing"]');
let movingCostCalculator = new MovingCostCalculator(element, options);
- Options
{
}
- Methods
See the documentation for the method definitions.
- Example
See this JSFiddle for a working example
Authors
- Zenoo - Initial work - Zenoo.fr