Skip to content

getBackgroundColor()

Return the toggle's background Color.

Parameters

Once an object toggle has been created, you can use the following function:

toggle.getBackgroundColor()

Returns

return color

Value Type Description
color Color The current background color.