You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are implementing some custom table cell editors for editing different types of data within a table (e.x. checkboxes, select widgets, etc), but we want them to react (no pun intended) the same as the EditableCell type exported by blueprintjs/table.
Right now we're reaching into the package to import Draggable so that we can achieve this, however, this is a pretty brittle abstraction (if you move it for example!), and only works if we're using TypeScript (which we happen to be here but that's not super relevant).
Ideally, the Draggable interface/behavior/component/whatever would be exported by the project for other things that might extend blueprintjs to use.
The text was updated successfully, but these errors were encountered:
Although you can just grab the compiled version from /dist/interactions/draggable.js but it would be nice to have this exported so you could just do const Draggable = require('blueprintjs/table).Draggable :)
We are implementing some custom table cell editors for editing different types of data within a table (e.x. checkboxes, select widgets, etc), but we want them to react (no pun intended) the same as the EditableCell type exported by blueprintjs/table.
Right now we're reaching into the package to import Draggable so that we can achieve this, however, this is a pretty brittle abstraction (if you move it for example!), and only works if we're using TypeScript (which we happen to be here but that's not super relevant).
Ideally, the Draggable interface/behavior/component/whatever would be exported by the project for other things that might extend blueprintjs to use.
The text was updated successfully, but these errors were encountered: