jqui_icon: Create a jQuery UI icon

Description Usage Arguments Value Examples

View source: R/icon.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
9
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'))

shinyjqui documentation built on Feb. 3, 2022, 9:06 a.m.