varkor / flowgrid Goto Github PK
View Code? Open in Web Editor NEWA flexible JavaScript drag-and-drop tile system
License: MIT License
A flexible JavaScript drag-and-drop tile system
License: MIT License
If you are hovering over a cell, and then it is redrawn with, say, redrawCellAtIndex
, it will be drawn in the default state, as if it was not being hovered.
You should be able to navigate FlowGrids using only the keyboard (this is useful for use in games, etc.).
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.
These methods are currently missing:
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.
These options would be useful but are missing:
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.
Allowing the user to have resizable windows containing FlowGrids, for instance.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.