Skip to main content

pressable_card

Function pressable_card 

Source
pub fn pressable_card(card: &str) -> String
Expand description

The compound a card’s interactive states are written against: the class on an element that is itself a control.

label for a card wrapping a choice, [data-act] for an act a renderer drew on some other element. Without the class prefix, the way every selector handed to interactive_rules is.