whenExample
@
safe @
()
=> label(.tags!(Tags.heading), "Reacting to user input"),
()
=> label("Nodes, especially input nodes, will change with the user input to provide feedback and guide " ~ "the user. You can set how this should look like using the 'when' rule. It accepts a predicate which " ~ "specifies *when* the rule should apply — and change its properties at runtime. The argument, 'a', " ~ "is the node that is being tested.") Button
whenExample