Giter Club home page Giter Club logo

javascript-fleximages's People

Contributors

romainsauvaire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

javascript-fleximages's Issues

Add feature to fill last row

For small grids the last row is very often uncomplete and you still want to show it. Having the feature to have the final row filled out (and overriding the max-height settings) would be great.

Only last grid is updated on resize

Hello there,

When using multiple grids with same selector, only the last one will be updated on resize. If you have n grids, the last one will be updated n times.

As far as I understand problem is here :

        for (var i=0;i<grids.length;i++) {
            var grid = grids[i], 
            [...]
            makeGrid(grid, items, o); // <- this call is ok
            var tempf = function() {  makeGrid(grid, items, o); }; // <- this call will not be ok as it is deferred. 
            [...]
        }

"grid" in this function is not a copy of for loop's "grid", it IS the for loop's "grid". So when the event will be fired later on, grid will always have the current "grid" value of the for loop, which already has ended looping long ago => I will always be the last grid.

I may give this a try, but I do not see an easy fix this evening.

Publish package on NPM

Hello there,

Thank you for this nice piece of code.

Since a lot of developers use NPM rather than Bower, it would be great to publish it on NPM. Would it be feasible for you ?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.