sepal_ui.sepalwidgets.radio#

Add extra behavior to radio and radio group to allow radio to be used as stand_alone components.

The radio from ipyvuetify cannot be used as stand alone elements like checkboxes (vuetifyjs/vuetify#2345). Here the radio included in a radio group will have a v_model trait embedding the active status of the button. In short it’s an overlay to reflect the JS into the Python code.

Classes

Radio(**kwargs)

Radio with extra active property.

RadioGroup(**kwargs)

This class will change the active of the included radio according to its v_model and vice-versa.