Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
I am trying to use Justified-Gallery inside of my Vue.js component.
Prerequisites:
"vue": "^2.5.7"
"justifiedGallery": "^3.7.0",
"jquery": "3.3.1"
I am doing what is said in Getting started - include link and script and call .justifiedGallery() on the gallery container.
And what I get is - controller.updateEntries is not a function
I tried to debug jquery.justifiedGallery.js file and I saw that:
controller is {}
because
JustifiedGallery.prototype.defaults is undefined
It seems that JustifiedGallery.js script is not in the scope but I can't undrestand why.
Can somebody help me with that?
I am trying to use Justified-Gallery inside of my Vue.js component.
Prerequisites:
I am doing what is said in
Getting started
- includelink
andscript
and call.justifiedGallery()
on the gallery container. And what I get is -controller.updateEntries is not a function
I tried to debug
jquery.justifiedGallery.js
file and I saw that:controller
is{}
becauseJustifiedGallery.prototype.defaults
isundefined
It seems that
JustifiedGallery.js
script is not in the scope but I can't undrestand why. Can somebody help me with that?