Skip to content

Commit

Permalink
Added destroy method. closes Mango#55
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Zajdband committed Aug 10, 2015
1 parent 8ae55b2 commit b84b4e7
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 28 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,13 @@ Returns `true` if the slideout is currently open, and `false` if it is closed.
slideout.isOpen(); // true or false
```

### Slideout.destroy();
Cleans up the instance so another slideout can be created on the same area.

```js
slideout.destroy();
```

### Slideout.enableTouch();
Enables opening the slideout via touch events.

Expand Down
Loading

0 comments on commit b84b4e7

Please sign in to comment.