setComponent Method

Set a component by index.

  • No change if index is out of range.

setComponent(index: number, value: number): void

Parameter Type Description
index number  
value number  

Returns - void

Defined in

Last Updated: 30 November, 2023