Giter Site home page Giter Site logo

flowgrid's People

Contributors

varkor avatar

Watchers

 avatar  avatar

flowgrid's Issues

Keyboard controls

You should be able to navigate FlowGrids using only the keyboard (this is useful for use in games, etc.).

Add event listener elements

There should be a way to add objects to grids that can respond to the different events—e.g. perform some action when they are clicked, or a cell is dropped on them, etc. This would allow for far more complex interactions—e.g. filtering a grid's content when different buttons are pressed, etc.

Delegate methods

These methods are currently missing:

  • Rearranged / swapped cells (within the same grid)

Grid-dependent tile appearances

There are certain situations (inventories and the like) where it would be useful to allow a single cell to have different appearances (but remain the same object) when in different FlowGrids. It might be possible to make this work at the moment, but if not, it would be a useful feature to have.

Missing options

These options would be useful but are missing:

  • Accepts cells from other grids

Data sources

Instead of simply manipulating the FlowGrid cells, one should be able to link a data source (as well as a way to interpret it), which is manipulated as the cells are dragged around, etc.

Filtering and sorting

You should be able to apply filters to only display cells matching a predicate, as well as rearrange the order of cells (programatically, that is) without actually changing the underlying data order.

Multiple selection

When you click on a cell without dragging it, it should become selected. There should be an option to select multiple cells at once (shift-clicking), as well as dragging a selection rectangle to select lots of cells in one go.

Animate cell movement

When cells are being displaced and when they are dropped, there should be an option to animate their movement instead of instantly snapping into place.

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.