Coder Social home page Coder Social logo

shinytip's Introduction

shinytip

Simple flexible tootips for Shiny apps

Demo ยท by Dean Attali

R Build Status CRAN version


shinytip

Simple flexible tootips for Shiny apps

works 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 emojis

TODO 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 HTML

Balloon.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

shinytip's People

Contributors

daattali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shinytip's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.