forCollapse

Transforms this button to a trigger for the given collapse-id.

Parameters

id

of the collapsable


fun Button.forCollapse(groupClass: String, vararg ids: String)

Transforms this button to a trigger for the given group and collapse-ids.

Parameters

groupClass

name of class group

ids

all ids of the group