Comments (9)
I figured it out. Basically, I was passing an arrays of image
models to the component, where the component requires an array of vanilla js objects. Since that array gets passed straight through, PhotoSwipe was choking on it.
from ember-cli-photoswipe.
Interesting. The offending code is not part of the addon. If you remove the photoswipe component and just iterate over the photos on the template, are you able to make the the photos render?
from ember-cli-photoswipe.
Yes I was previously rendering the photos with no problems, using fancyBox
till I found out fancyBox doesn't have swipe support.
from ember-cli-photoswipe.
Wait so you closed it because it is an issue not with the add-on? It's definitely something to do with Photoswipe.
from ember-cli-photoswipe.
I wasn't able to reproduce it on a new ember-cli app with that version
On Wed, Jul 15, 2015 at 11:33 PM blisst [email protected] wrote:
Wait so you closed it because it is an issue not with the add-on? It's
definitely something to do with Photoswipe.—
Reply to this email directly or view it on GitHub
#17 (comment)
.
from ember-cli-photoswipe.
@blisst - did you ever fix this problem. I'm having the same issue
from ember-cli-photoswipe.
Also seeing this ([email protected],[email protected]).... Only reference I can find is dimsemenov/PhotoSwipe#1041, with no fix
from ember-cli-photoswipe.
I apologize I haven't been working in Ember for a while now and thus don't remember what ended up happening...
from ember-cli-photoswipe.
I got the same error when I passed an empty array. Make sure you are sending images to the photo swipe.
from ember-cli-photoswipe.
Related Issues (20)
- Update readme / package be compatible with `install:addon` HOT 2
- Update version of photoswipe HOT 1
- Code coverage HOT 2
- Add ability to pass options into the component HOT 1
- Cannot convert a Symbol value to a string HOT 9
- Update addon's ember-cli release HOT 1
- generator needs to run every time the bower_components dir is cleared.
- element index is not being passed to photoswipe click method HOT 3
- Adding support for use with ember-wormhole HOT 14
- Programmatically update when items change
- Doesnt work with embercli with ember 2.0 HOT 8
- Addon does not work as advertised HOT 7
- How to configure Ui HOT 1
- error: "event listener's handler isn't a function or empty" HOT 1
- Using ember-cli-photoswipe without an 'items' attribute is deprecated. HOT 1
- Empty src causes component crash
- Possible to make specific sections clickable?
- msrc attribute is not working
- User PhotoSwipe NPM package instead of Bower
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 ember-cli-photoswipe.