You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***callbacks:** improve support for cancel, picked and loaded callback (resolve #13) ([fad944b](https://github.com/softmonkeyjapan/angular-google-picker/commit/fad944b)), closes [#13](https://github.com/softmonkeyjapan/angular-google-picker/issues/13)
1. Include Google client and api script in your layout
38
41
@@ -106,7 +109,7 @@ Every file is a json object that looks like :
106
109
```
107
110
108
111
109
-
# Configuration
112
+
##Configuration
110
113
111
114
In order to work, Google Picker needs to connect to the Google API using an application credentials (Api Key and client ID). For more information on how to create an application/project, please refer to [https://developers.google.com/drive/web/](https://developers.google.com/drive/web/). To do so, you'll need to configure the service.
The Picker use the concept of views and features that allow you to customize it. The service provider allow you to enable some features to the Picker the same way you define your API Key or client ID (using either configure or setters).
<ahref="javascript:;"lk-google-pickeron-cancel="onCancel">Open my Google Drive</a>
239
242
```
240
243
241
-
#Example
244
+
## Demo
242
245
243
246
The demo version available at [http://softmonkeyjapan.github.io/angular-google-picker/](http://softmonkeyjapan.github.io/angular-google-picker/) can be found in the `example` folder.
244
247
You will need a server in order to try it on your local machine. Since the Google Picker demo application is setup to allow origin from localhost:8000, I encourage you to use the python `SimpleHTTPServer` :
@@ -251,11 +254,5 @@ Serving HTTP on 0.0.0.0 port 8000 ...
251
254
252
255
You should now be able to browse to `localhost:8000` and see it in action from your localhost.
253
256
254
-
255
-
# Demo
256
-
257
-
A demo version is available at [http://softmonkeyjapan.github.io/angular-google-picker/](http://softmonkeyjapan.github.io/angular-google-picker/).
0 commit comments