moving-cost-calculator

Calculate the cost for your move

Usage no npm install needed!

<script type="module">
  import movingCostCalculator from 'https://cdn.skypack.dev/moving-cost-calculator';
</script>

README

Moving Cost Calculator (Demo)

Dependencies

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