yonicd / jsTree

R htmlwidget for inspecting heirachal structures with the ‘jQuery’ ‘jsTree’ Plugin.
https://yonicd.github.io/jsTree/
Other
30 stars 7 forks source link

Expose jsTree plugin parameters #7

Open jsanjak opened 6 years ago

jsanjak commented 6 years ago

I noticed that you have marked exposing the custom icons as an enhancement. It would also be generally useful to have access to as many of the jsTree plugins as possible. For example, I would love to be able to use the three_state checkbox.

Thanks for this cool package!

yonicd commented 6 years ago

good idea.

i was thinking of moving the api to a more magrittr pipes. where you can add more plugins and plugin options in an iterative workflow.

that may be a bit of project though

dylancis commented 6 years ago

That will be great. Very good job with this package. Thanks.

yonicd commented 6 years ago

new branch for plugins api. I'll weave it all in together in the next month.

dylancis commented 6 years ago

This is awesome!!!

On Fri, 11 May 2018, 13:27 yonicd, notifications@github.com wrote:

new branch https://github.com/metrumresearchgroup/jsTree/blob/plugins_api/R/plugins.R for plugins api. I'll weave it all in together in the next month.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/metrumresearchgroup/jsTree/issues/7#issuecomment-388349094, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvvMWRFX7TCQHCPjndR_7K3ZkuN5y17ks5txYOWgaJpZM4ThqYo .

dylancis commented 6 years ago

Hi @yonicd is a plugins_api branch stable at the moment ? thanks for your work.

yonicd commented 6 years ago

not yet (was on vacation)

yonicd commented 6 years ago

new api. That is better built for modular manipulation of the trees. You can add plugins and plugin options including straight JS callbacks.

take it for a spin