| ds_badge_position | R Documentation |
Wraps an element so that a ds_badge() can be positioned on top of it.
ds_badge_position(..., placement = "top-right", overlap = NULL, class = NULL)
... |
The target element followed by a |
placement |
Badge placement: |
overlap |
Set to |
class |
Additional CSS classes. |
A Shiny tag object
ds_badge_position(
ds_button("Inbox"),
ds_badge(count = 3, color = "danger"),
placement = "top-right"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.