This is very much a Concept, I don't have much time to work on this, and invite anyone to send me pull requests
git clone <repository-url>
this repositorycd ember-google-picker
npm install
bower install
- in your configuration.environment add keys to the ENV variable
var ENV = {
googlePicker: {
apiKey: <YOUR_GOOGLE_DEVELOPER_API_KEY>,
clientId: <YOUR_GOOGLE_DEVELOPER_OAUTH_CLIENT_ID>,
scope: [] // Optional scope for the views you want to support
}
}
{{google-picker valueChanged=(action 'googlePickerValueChanged')}}
- The response will be a JSON document (https://developers.google.com/picker/docs/results) passed to the action given in valueChanged