Comments (7)
And while changing
lkGoogleSettingsProvider.views = ['ViewId.DOCUMENTS'];
TypeError: google.picker.ViewId.DOCUMENTS is not a constructor
from angular-google-picker.
Hi,
I fixed my issue by using:
lkGoogleSettingsProvider.views : ['DocsView().setMimeTypes("application/vnd.google-apps.spreadsheet")'];
Thanks
from angular-google-picker.
Hi,
I updated your messages using some code highlighting, this is more readable.
Regarding the issue, I've tried to do :
lkGoogleSettingsProvider.views = ['DocsView()'];
and it works on both Chrome | Firefox
. A typo somewhere maybe?
Anyway, glad you figured out a way to make it works.
from angular-google-picker.
Thanks. it works. 👍
from angular-google-picker.
This controller is great, I do have one question about the views though... I'm not sure how you go about making the DocsView
only show the ViewId.DOCS_IMAGES
. I have tried :
lkGoogleSettingsProvider.views = ['DocsView(ViewId.DOCS_IMAGES)'];
and
lkGoogleSettingsProvider.views = ['DocsView(DOCS_IMAGES)'];
and I get ReferenceError: ViewId is not defined
and ReferenceError: DOCS_IMAGES
is not defined respectively... any ideas would be a great help.
from angular-google-picker.
@tomrainedotcom you need to use the google.picker
namespace :
lkGoogleSettingsProvider.views = ['DocsView(google.picker.ViewId.DOCS_IMAGES)'];
from angular-google-picker.
@softmonkeyjapan thanks champ. Absolute legend.
from angular-google-picker.
Related Issues (20)
- Cancel Action Not Being Sent to Callback
- Documents thumbnails HOT 2
- Make the views more flexible? HOT 2
- Authorization error HOT 3
- Want to upload a files as well as folders? HOT 7
- Error when file is uploaded HOT 5
- Google Picker z-index HOT 4
- Demo Not working HOT 2
- Syntax error in Readme HOT 1
- Picker doesn't close on Firefox after selecting a file or Cancelling. HOT 1
- Getting a download url HOT 1
- Origin mismatch in demo HOT 1
- Views configutation - help needed
- Auth without the popup
- Origin mismatch HOT 1
- Don't early load gapi.auth and gapi.picker HOT 2
- imediate as a parameter HOT 1
- Error while login
- While uploading not getting file size in function on picked.
- Error while opening Popup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-google-picker.