Skip to content

OptionScreenCollection.setSelection

Alex Kulcsar edited this page Apr 20, 2023 · 1 revision

OptionScreenCollection.setSelection method

Sets the selected option for a given option group for the current screen.

OptionScreenCollection.setSelection(index: number = 0, value: number = -1): void

Parameters

  • index: number Option group for selection. Indices are zero-based, so the first option group has 0 (zero) for its index.
  • value: number Option to select; -1 for none. Default is -1.
Clone this wiki locally