mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added simple test from example.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
///<reference path="shepherd.d.ts" />
|
||||
|
||||
var tour = new Shepherd.Tour({
|
||||
defaults: {
|
||||
classes: 'shepherd-theme-default'
|
||||
}
|
||||
});
|
||||
|
||||
tour.addStep('test-step', {
|
||||
text: 'This is a test step being added to the test tour',
|
||||
title: 'Test Step Title',
|
||||
attachTo: {
|
||||
element: '#button',
|
||||
on: 'right'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user