Package Exports
- moving-cost-calculator
- moving-cost-calculator/MovingCostCalculator.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (moving-cost-calculator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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