幻灯片教程
设置:
创建一个新的SlideTutorial并传入带有“ slides”对象数组的对象。 对象应具有“图像”,“标题”和“内容”键。
var slideTutorial = new SlideTutorial ( { slides : [
{ image : './your-image-1.jpg' , title : 'Welcome' , content : 'Some content' } ,
{ image : './your-image-2.jpg' , title : 'Second Slide' , content : 'Some more content' } ,
{ image : './your-image-3.jpg' , title : 'Third Slide' , content : 'Some more c