mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-20 11:51:40 +02:00
README.md update
This commit is contained in:
19
README.md
19
README.md
@@ -39,6 +39,25 @@ Version 0.1 (Jan 8, 2017):
|
||||
|
||||
<pre><article id="webslides" class="vertical"></pre>
|
||||
|
||||
### How it works
|
||||
|
||||
You need to add the follow javascript to initialize the webslide objet
|
||||
|
||||
```javascript
|
||||
var slide = jQuery('#webslides').webslides();
|
||||
```
|
||||
|
||||
Now you can use the slide with these functions
|
||||
|
||||
```javascript
|
||||
// Moving to next slide
|
||||
slide.nextSlide();
|
||||
// Moving to previous slide
|
||||
slide.previousSlide();
|
||||
// Moving to a specific slide
|
||||
slide.goToSlide(n);
|
||||
```
|
||||
|
||||
### What's in the download?
|
||||
|
||||
The download includes demos and images (devices and logos).
|
||||
|
Reference in New Issue
Block a user