Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do images work? #61

Closed
abitdodgy opened this issue Dec 4, 2013 · 2 comments
Closed

Do images work? #61

abitdodgy opened this issue Dec 4, 2013 · 2 comments

Comments

@abitdodgy
Copy link

Are image uploads supported? There reason I ask is because the roadmap says they will eventually be included, but there seems to be some commit that indicates they might have been included: #17

Are there any examples of how to use inline images if they are supported?

@mduvall
Copy link
Owner

mduvall commented Dec 5, 2013

Yep pass allowImages:true into the constructor.

new Grande(document.querySelectorAll('.foo'), {allowImages:true});

@mduvall mduvall closed this as completed Dec 5, 2013
@digitalplaywright
Copy link

When I do that I get the error

Uncaught TypeError: Cannot read property 'children' of undefined 

after constructing Grande with

grande.bind(document.querySelectorAll("article"));

Do you have a tip on how to fix this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants