1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-21 12:21:46 +02:00

README.md update

This commit is contained in:
Luis
2017-02-11 16:58:15 +01:00
parent d56448431d
commit dd81ae3bc4

View File

@@ -39,6 +39,25 @@ Version 0.1 (Jan 8, 2017):
<pre>&lt;article id="webslides" class="vertical"&gt;</pre> <pre>&lt;article id="webslides" class="vertical"&gt;</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? ### What's in the download?
The download includes demos and images (devices and logos). The download includes demos and images (devices and logos).