Insert attribute to a shinydashboard::box

insert_attr_box(.box, ...)

Arguments

.box

The shinydashboard::box object.

...

The attributes added to the box

Value

New box object after adding attributes.

Examples

if (FALSE) {
insert_attribute(box(), id = "dca")
# <div class="col-sm-6">
#   <div class="box" id="dca">
#     <div class="box-body"></div>
#   </div>
# </div>
}