Standardize backup/restore of state values
All components now implement a new base.StateMapper interface. This method is used by base.Start() and can be used by users.
Showing
- base/component.go 20 additions, 10 deletionsbase/component.go
- base/component_interface.go 4 additions, 0 deletionsbase/component_interface.go
- checkbox/checkbox.go 17 additions, 12 deletionscheckbox/checkbox.go
- dialog/dialog.go 18 additions, 7 deletionsdialog/dialog.go
- dialog/dialog_example_test.go 1 addition, 1 deletiondialog/dialog_example_test.go
- formfield/formfield.go 14 additions, 5 deletionsformfield/formfield.go
- formfield/formfield_example_test.go 1 addition, 1 deletionformfield/formfield_example_test.go
- icontoggle/icontoggle.go 15 additions, 6 deletionsicontoggle/icontoggle.go
- icontoggle/icontoggle_example_test.go 1 addition, 1 deletionicontoggle/icontoggle_example_test.go
- linearprogress/linearprogress.go 25 additions, 15 deletionslinearprogress/linearprogress.go
- menu/menu.go 22 additions, 13 deletionsmenu/menu.go
- persistentdrawer/persistentdrawer.go 13 additions, 9 deletionspersistentdrawer/persistentdrawer.go
- radio/radio.go 16 additions, 10 deletionsradio/radio.go
- radio/radio_example_test.go 15 additions, 23 deletionsradio/radio_example_test.go
- ripple/ripple.go 14 additions, 8 deletionsripple/ripple.go
- selection/selection.go 16 additions, 9 deletionsselection/selection.go
- slider/slider.go 31 additions, 14 deletionsslider/slider.go
- snackbar/snackbar.go 34 additions, 17 deletionssnackbar/snackbar.go
- temporarydrawer/temporarydrawer.go 14 additions, 9 deletionstemporarydrawer/temporarydrawer.go
- textfield/textfield.go 25 additions, 11 deletionstextfield/textfield.go
Loading
Please register or sign in to comment