Onwatch / Onunwatch event handle

Plaese press F12, open the develop tools.

x
 
1
#### Settings
2
3
```javascript
4
{
5
    onwatch : function() {
6
        // console.log("onwatch =>", this, this.id, this.settings);
7
    },
8
9
    onunwatch : function() {
10
        // console.log("onunwatch =>", this, this.id, this.settings);
11
    }
12
}
13
```
14

Settings

  1. {
  2. onwatch : function() {
  3. // console.log("onwatch =>", this, this.id, this.settings);
  4. },
  5. onunwatch : function() {
  6. // console.log("onunwatch =>", this, this.id, this.settings);
  7. }
  8. }