I am using daq.BooleanSwitch to change the state of my page and also I want to save those boolean values as a variable so that i can use it in further application.
Here is a snippet of my code-
daq.BooleanSwitch (id='switch', label='Manual | Automatic', labelPosition= 'bottom', color='#00CC96', on = True,
Here i want to save property ‘on’ in variable but I can’t find a way to do it. I tried using callback definition’s return value to save as variable but it does not work. Is there any other way to do it?
Thanks in advance!