Insert attribute to a shinydashboard::box
insert_attr_box(.box, ...)
The shinydashboard::box
object.
The attributes added to the box
New box object after adding attributes.
if (FALSE) {
insert_attribute(box(), id = "dca")
# <div class="col-sm-6">
# <div class="box" id="dca">
# <div class="box-body"></div>
# </div>
# </div>
}