mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
fix intro.js
This commit is contained in:
@@ -9,11 +9,11 @@ intro.setOptions({
|
||||
intro: "Hello world!"
|
||||
},
|
||||
{
|
||||
element: document.querySelector('#step1'),
|
||||
element: document.querySelector('#step1') as HTMLElement,
|
||||
intro : "This is a tooltip."
|
||||
},
|
||||
{
|
||||
element : document.querySelectorAll('#step2')[0],
|
||||
element : document.querySelectorAll('#step2')[0] as HTMLElement,
|
||||
intro : "Ok, wasn't that fun?",
|
||||
position: 'right'
|
||||
},
|
||||
|
||||
2
intro.js/intro.js.d.ts
vendored
2
intro.js/intro.js.d.ts
vendored
@@ -14,7 +14,7 @@ declare module IntroJs {
|
||||
interface Step {
|
||||
intro: string;
|
||||
element?: string|HTMLElement;
|
||||
position?: Positions;
|
||||
position?: string|Positions;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
|
||||
Reference in New Issue
Block a user