task_item: Create a task item.

Description Usage Arguments Value Functions Examples

View source: R/dropdown_menu.R

Description

Create a task item.

Usage

1
2
3
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

Examples

1
taskItem("Project progress...", 50.777, color = "red")

Example output

Attaching package:semantic.dashboardThe following object is masked frompackage:graphics:

    box

<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>

semantic.dashboard documentation built on Nov. 10, 2021, 1:06 a.m.