token_select_decoration {processanimateR}R Documentation

Decoration callback for token selection

Description

Decoration callback for token selection

Usage

token_select_decoration(stroke = "black")

Arguments

stroke

Sets the 'stroke' attribute of selected tokens.

Value

A JavaScript callback function called when token selection changes.

See Also

animate_process

Examples

# Create a decoration callback that paints tokens red
token_select_decoration("red")


[Package processanimateR version 1.0.5 Index]