1.1.2 • Published 1 year ago
js-ganje-delivery v1.1.2
Ganje Delivery Module
A javascript module to show Ganje station list on map to use Ganje for parcel delivery.
Installation
Install with npm
npm install js-ganje-delivery
Install with yarn
yarn add js-ganje-delivery
Script usage:
<script src="https://cdn.jsdelivr.net/npm/js-ganje-delivery/index.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/js-ganje-delivery/style.min.css">
Usage
<script>
openGanjeDelivery(supplierUuid, size, selectedGanjeCallback)
</script>
openGanjeDelivery params
Param | Value | Description |
---|---|---|
supplierUuid | String | Your supplier uuid given by Ganje |
size | String | small or medium or large |
selectedGanjeCallback | Object | A callback function that returns selected Ganje Info |
Support
For support, follow https://ganje.net or email ganjeteam@gmail.com .