use_tooltips {shinyfilter}R Documentation

Add tooltip functionality to the app

Description

Prepares the application for the use of tooltips or popovers to show the (un)available filter options. use_tooltips() needs to be called from within the UI definition of your shiny app. See update_tooltips() for how to create the actual tooltips or popovers.

Usage

use_tooltips(
  background = "#000000",
  foreground = "#FFFFFF",
  textalign = "left",
  fontsize = "100%",
  opacity = 0.8
)

Arguments

background

Background color of the tooltips/popovers the in CSS hex format.

foreground

Font color of the tooltips/popovers the in CSS hex format.

textalign

Alignment of the text in the tooltips/popovers; either "left", "right", "center" or "justify".

fontsize

Font size of the tooltips/popovers.

opacity

Opacity of the tooltips/popovers.

Details

For a full example of a shiny app using shinyfilter please call up the help for update_filters(). See the README.md file or the GitHub repo on https://github.com/jsugarelli/shinyfilter for a comprehensive shinyfilter tutorial.

Value

No return value.


[Package shinyfilter version 0.1.1 Index]