shinyjqui (version 0.3.3)

jqui_icon: Create a jQuery UI icon

Description

Create an jQuery UI pre-defined icon. For lists of available icons, see http://api.jqueryui.com/theming/icons/.

Usage

jqui_icon(name)

Arguments

name

Class name of icon. The "ui-icon-" prefix can be omitted (i.e. use "ui-icon-flag" or "flag" to display a flag icon)

Value

An icon element

Examples

Run this code
# NOT RUN {
jqui_icon('caret-1-n')

library(shiny)

# add an icon to an actionButton
actionButton('button', 'Button', icon = jqui_icon('refresh'))

# add an icon to a tabPanel
tabPanel('Help', icon = jqui_icon('help'))
# }

Run the code above in your browser using DataLab