Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cherifgsoul/can-places-autocomplete
CanJS/DoneJS plugin for google maps places autcomplete custom user interfaces
https://github.com/cherifgsoul/can-places-autocomplete
canjs donejs geolocation-api google google-maps-api google-places-api ui
Last synced: about 2 months ago
JSON representation
CanJS/DoneJS plugin for google maps places autcomplete custom user interfaces
- Host: GitHub
- URL: https://github.com/cherifgsoul/can-places-autocomplete
- Owner: cherifGsoul
- License: mit
- Created: 2018-01-27T23:50:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-16T13:25:36.000Z (over 6 years ago)
- Last Synced: 2024-11-06T23:04:40.485Z (about 2 months ago)
- Topics: canjs, donejs, geolocation-api, google, google-maps-api, google-places-api, ui
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# can-places-autocomplete
[![Build Status](https://travis-ci.org/cherifGsoul/can-places-autocomplete.svg?branch=master)](https://travis-ci.org/cherifGsoul/can-places-autocomplete)
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:
```js
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`:```js
var plugin = require("can-places-autocomplete");
```### Standalone use
Load the `global` version of the plugin:
```html
```