Skip to contents

Create a task item.

Usage

task_item(text, value, color = "")

taskItem(text, value, color = "")

Arguments

text

Progress bar label.

value

Progress bar value.

color

Color of the task item. One of c("", "red", "orange", "yellow", "olive", "green", "teal", "blue", "violet", "purple", "pink", "brown", "grey", "black")

Value

A task item that can be passed to dropdownMenu

Functions

  • taskItem(): Create a task item (alias for taks_item for compatibility with shinydashboard)

Examples

taskItem("Project progress...", 50.777, color = "red")
#> <div class="item" style="min-width: 200px;">
#>   <div class="ui active progress red" data-percent="50.777" data-total="100">
#>     <div class="bar">
#>       <div class="progress"></div>
#>     </div>
#>     <div class="label">Project progress...</div>
#>   </div>
#> </div>