Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Last active Feb 5, 2017
Embed
What would you like to do?
import { Slideshow } from './slideshow.js';
/* Waiting for DOM to be ready */
document.addEventListener('DOMContentLoaded', () => {
new Slideshow('slideshow', { delay: 2000 });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment