Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daattali/shinytip
๐ฌ Simple flexible tooltips for Shiny apps
https://github.com/daattali/shinytip
r r-package rstats shiny shiny-r
Last synced: 26 days ago
JSON representation
๐ฌ Simple flexible tooltips for Shiny apps
- Host: GitHub
- URL: https://github.com/daattali/shinytip
- Owner: daattali
- License: other
- Created: 2022-05-31T22:15:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T23:44:40.000Z (about 1 year ago)
- Last Synced: 2024-05-09T22:18:45.854Z (6 months ago)
- Topics: r, r-package, rstats, shiny, shiny-r
- Language: R
- Homepage: https://daattali.com/shiny/shinytip-demo/
- Size: 54.7 KB
- Stars: 17
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
shinytip
Simple flexible tootips for Shiny apps
Demo
ยท
by Dean Attali
---
# shinytip
Simple flexible tootips for Shiny appsworks in rmd/qmd
works in dynamic ui (insertUI or renderUI)
works in modals (shiny modalDialog or shinyalert)
works in modules
works on text
works with shinycssloaders
works with emojisTODO programatically show/hide tooltip
biggest weakness: does not automatically detect the best position so it can run off-screen, but other libraries have that as well.
on moble you need to click away rather than click again, also can't use HTMLBalloon.css make use of pseudo-elements, so if pseudo elements are already in use on an element, the tooltip will conflict with them resulting in potential bugs.
set option for all tooltips using `shinytip.optionname`
tippy doesn't work in all the scenarios i tried and doesnt support the optoins i wanted, although it does have a different et of options/methods that shinytip doesnt have so take a look there as well if shinytip doesnt do what you want. it's been in a "warning" state about its api changing for a year. its javascript whereas shinyitp is only css
bslib is only for bootstrap 5
prompter: must add use_prompt(), does not work on text (input must be a tag), does not have many of the customization options
bsplus: requires use_bs_tooltip(), does not work on text, also doesnt automatically position it correctly, doesnt have any customization options
shinyBS: no longer maintained, couldn't get it to work