Skip to contents

Internal helper that creates a badge showing the number of artwork variants. Used by artDisplayCard() to indicate when an artwork has multiple versions.

Usage

addBadgeVariants(count)

Arguments

count

Numeric. Number of variants for the artwork.

Value

shiny.tag div element with tooltip showing variant count.

Examples

if (FALSE) { # \dontrun{
addBadgeVariants(count = 3)
} # }