updated introjs interface to 2.5.0 (#16628)

This commit is contained in:
Antonio M S S Jr
2017-06-02 10:51:59 -03:00
committed by Andy
parent c6e8de81b5
commit 632516c861
2 changed files with 6 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ declare namespace IntroJs {
exit(): IntroJs;
clone(): IntroJs;
goToStepNumber(stepId: number): IntroJs
goToStep(step: number): IntroJs;
nextStep(): IntroJs;
previousStep(): IntroJs;
@@ -66,11 +67,12 @@ declare namespace IntroJs {
oncomplete(callback: Function): IntroJs;
addHints(): IntroJs;
showHint(stepId: number): IntroJs;
showHints(): IntroJs;
hideHint(stepId: number): IntroJs;
hideHints(): IntroJs;
removeHint(stepId: number): IntroJs;
removeHints(): IntroJs;
onhintsadded(callback: Function): IntroJs;
onhintclick(callback: (hintElement: HTMLElement, item: Step, stepId: number) => any): IntroJs;

View File

@@ -57,6 +57,7 @@ intro.setOptions({
intro.start()
.nextStep()
.previousStep()
.goToStepNumber(1).start()
.goToStep(2)
.exit()
.refresh()
@@ -89,6 +90,8 @@ intro.start()
.showHints()
.hideHint(1)
.hideHints()
.hideHint(1)
.hideHints()
.clone();
introWithElement.start()