A jQuery Masonry alternative with CSS-driven configuration.
and that's it, it will load even with angular ?
Ok i'll be careful to replace the container
yeah, because when you add the data-columns attribute to your source file, sal.js will automatically do its thing
I'll try this
thank you a lot for your help
also make sure that you have your media queries in a .css file or they won't work
my mediaqueries worked very well before passing the project in angular
meaning, don't have them inline in a <style> block
so I guess it will still work
Oh yes of course
this is a very bad practice ^^
Good to have that chat
thanks again ^^
I'll tell you if it worked
So I've tried to call it like you said but it's not working
It's partially working in fact
salvattore is generating it's class well
but my content is not here
maybe I've forgotten something
Do you have an idea please ?
you were talking about empty columns yesterday
I have that exact problem
but you are talking about "adding the new content"
what's "NEW" content ? I don't understand
I'm trying to initialize salvattore for the first time in my html page
I have an angular loop that's generating the content from a JSon file
Hey guys, I just published a new version with all the bugfixes included from the last months. Feel free to check it out
@emma-uxrepublic The script is calling itself, there should be nothing left for you todo except just including the script file from salvattore. It checks your html and css then and creates a grid with the elements from it. saetia is expecting you to start with an empty container for your elements or even not a container. You can register the new container to use salvattore with the registerGrid command. If you want to add elements to your grid container you can use the appendElementscommand
yeah I know but we are working with Salvattore and we were forced to call the script ourselves. We prevented it to call itself . With angular it's a little touchy.... also we have to filter items and reload salvattore after. But anyway thank you we will try to use those commands, maybe it will work
@emma-uxrepublic You can find the methods we provide in the README.md under Methods
Hi guys, have you discuss about split two "blocks" into only one block, but still with 2 blocks width? Everything in 3 columns layout.
anyone know what kind of browser support Salvattore has?
hello everybody ... I repost the question emma asked cause we didnt found any solution. So we include in our Angular controller a function called salvattore() which we call when we load the datas into our app. It doesnt create any #grid element. But at least the datas are well formated in html/css formatted blocks and arranged by columns. The problem arise when we try to apply a filter on the datas, because the AngularJs filter does its job, filtering accordingly to the filter criteria, but the salvattore() function hides all the blocks. So now I may ask what is the best approach for including salvattore in AngularJS in order to filter elements, and avoid problems like ours ?
is there any NPM install or BOWER install for salvattore?
found it on npm.com :)
@aesnyahsanbower install salvattoreand npm install salvattore will work
how can i import Masonry grid layout in view mode in aurelia?
Anyone use salvattore with rails 4 sprokets?
Thanks for great solution. Masonry jquery plugin didn't want to work properly on IE
I have an issue with salvattore not responding when the media query changes
Other people have experienced the same issue, some have managed to resolve it, some have not. Anyone out there can help a brother?