groupWith([component])

Class: RadioButton.

Description:

Adds this RadioButton to the group of another RadioButton, or removes it from its current group.

Parameters:

Name Type Description

[component]

RadioButton | null

A RadioButton to join, or null to leave the current group.

Returns:

This RadioButton, for chaining.

Type: RadioButton