PlutoExtras.jl
PlutoExtras.jl copied to clipboard
Specify CSS icon
closes #38
Hi @itafraze,
Thanks a lot for you interest in the package and for submitting this PR and sorry for the late in the reply.
The reason why there is no icon still is that I wanted first to add a tooltip with some information on how to use the BondTable but due to time I never effectively implemented this.
I would like to add an icon only after we have at least a very basic tooltip/description about this.
If you are willing to also add a very small description about the BondTable (I can help you with understanding features) I think we can merge with an icon as well :)
Hi @disberd, sure, I can look into it. But I'm not sure what you mean by 'tooltip/description'.
Thanks for this. I meant some box/div/description that comes up when hovering on the button.
For an example you can look at the popout element in the bond table which has the actual div with the bonds appear only when hovering over the icon: https://github.com/disberd/PlutoExtras.jl/blob/1582b78817aca057b3e83035a032742c5240985a/src/structbond/main_definitions.jl#L334-L381
Though this is of course not the only way to implement something similar (nor probably the best way to do it but I am not a javascript developer :P)