mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Update Intro.Js types
This commit is contained in:
Vendored
+5
-1
@@ -7,7 +7,11 @@ declare namespace IntroJs {
|
||||
interface Step {
|
||||
intro: string;
|
||||
element?: string|HTMLElement|Element;
|
||||
position?: string;
|
||||
position?: "top"|"left"|"right"|"bottom"|"bottom-left-aligned"|"bottom-middle-aligned"|"bottom-right-aligned"|"auto";
|
||||
tooltipClass?: string;
|
||||
highlightClass?: string;
|
||||
scrollTo?: "off"|"tooltip"|"element";
|
||||
disableInteraction?: boolean;
|
||||
}
|
||||
|
||||
interface Hint {
|
||||
|
||||
@@ -31,13 +31,22 @@ intro.setOptions({
|
||||
position: 'left'
|
||||
},
|
||||
{
|
||||
element : '#step4',
|
||||
intro : "Another step.",
|
||||
position: 'bottom'
|
||||
element : '#step4',
|
||||
intro : "Another step.",
|
||||
position : 'bottom',
|
||||
tooltipClass : 'step4Class',
|
||||
highlightClass: ''
|
||||
},
|
||||
{
|
||||
element: '#step5',
|
||||
intro : 'Get it, use it.'
|
||||
element : '#step4',
|
||||
intro : "Another step.",
|
||||
position: 'bottom',
|
||||
scrollTo: 'tooltip'
|
||||
},
|
||||
{
|
||||
element : '#step5',
|
||||
intro : 'Get it, use it.',
|
||||
disableInteraction: true
|
||||
}
|
||||
],
|
||||
hints: [
|
||||
|
||||
Reference in New Issue
Block a user