Skip to content

CanJS/DoneJS plugin for google maps places autcomplete custom user interfaces

License

Notifications You must be signed in to change notification settings

cherifGsoul/can-places-autocomplete

Repository files navigation

can-places-autocomplete

Build Status

CanJS/DoneJS plugin for google maps places autcomplete custom user interfaces

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-places-autocomplete';

CommonJS use

Use require to load can-places-autocomplete and everything else needed to create a template that uses can-places-autocomplete:

var plugin = require("can-places-autocomplete");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-places-autocomplete/dist/global/can-places-autocomplete.js'></script>