disabled

abstract external var disabled: Boolean?(source)

If true, the view cannot be switched. The switch button is hidden and a click on the label does nothing.