setActiveButton

open fun setActiveButton(index: Int, options: dynamic = undefined): Promise<Unit>?(source)

Activates the button at given index.

Parameters

index

the button index

options

a parameter object