Skip to content

Commit b20658a

Browse files
committed
Merge pull request #114 from Mango/feature-destroy-instance
Added destroy method. closes #55
2 parents 8ae55b2 + 08b0ba8 commit b20658a

File tree

5 files changed

+93
-29
lines changed

5 files changed

+93
-29
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ Returns `true` if the slideout is currently open, and `false` if it is closed.
246246
slideout.isOpen(); // true or false
247247
```
248248

249+
### Slideout.destroy();
250+
Cleans up the instance so another slideout can be created on the same area.
251+
252+
```js
253+
slideout.destroy();
254+
```
255+
249256
### Slideout.enableTouch();
250257
Enables opening the slideout via touch events.
251258

0 commit comments

Comments
 (0)