component

fun component(index: Int): Component

Gets the component at the specified index.

Return

The component at the specified index, or nil if the component does not exist.

Parameters

index

The index of the component