on change calls a function when toggle is clicked

```
<div toggle-switch on-change="do_my_function(params)" ... >
```