Creating Info Icon with rollover text

8 views
Skip to first unread message

Abigail-Joy Low

unread,
Nov 11, 2015, 5:10:32 AM11/11/15
to ShinyApps Users
Hi,

I have some numericInputs and would like to put an information icon next to it, so that when users roll over the information icon, there are instructions on how to fill the numeric input.
How do I go about this?

numericInput("standardincome", label = h4("What is your monthly household income?"), value = "0", min=0, icon="fa-info-circle")

renders an error, while

numericInput("standardincome", label = h4("What is your monthly household income?", icon="fa-info-circle"), value = "0", min=0),  

does not show the icon.

I have two main questions:

1. How do I make the icon show up
2. How do I attached text to the icon when the user rolls over the icon?

Tareef Kawaf

unread,
Nov 11, 2015, 7:29:44 AM11/11/15
to Abigail-Joy Low, shiny-...@googlegroups.com
This sounds like more of a general shiny question than something related to shinyapps.io.  Moving to the shiny-discuss list.

--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/9322ea77-9961-4633-bb00-d7962b884fbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages