use_tooltips: Add tooltip functionality to the app

Description Usage Arguments Details Value

View source: R/shinyfilter.r

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

1
2
3
4
5
6
7
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.


shinyfilter documentation built on May 11, 2021, 1:07 a.m.