Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please export table/draggable on blueprint/table #251

Closed
toddself opened this issue Nov 28, 2016 · 3 comments
Closed

Please export table/draggable on blueprint/table #251

toddself opened this issue Nov 28, 2016 · 3 comments

Comments

@toddself
Copy link

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.

@toddself toddself mentioned this issue Nov 28, 2016
4 tasks
@toddself
Copy link
Author

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 :)

@themadcreator
Copy link
Contributor

Sure, this should be no problem

@toddself
Copy link
Author

Thank you!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants