on change calls a function when toggle is clicked

```
<div toggle-switch on-change="do_my_function(params)" ... >
```
Merge pull request #2 from avances123/patch-1

on change calls a function when toggle is clicked