Merge pull request #12895 from nickwph/master

Fixed main method name for jquery-steps
This commit is contained in:
Paul van Brenk
2016-11-29 13:33:32 -08:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ var settings: JQuerySteps.Settings = {
onStepChanging: onStepChangingFunc
}
var wizard = $('.wizard').JQuerySteps(settings);
var wizard = $('.wizard').steps(settings);
var newStep1: JQuerySteps.Step = {
content: '<div>Content</div>',

View File

@@ -1,10 +1,11 @@
// Type definitions for jQuery Steps v1.1.0
// Type definitions for jQuery Steps v1.1.1
// Project: http://www.jquery-steps.com/
// Definitions by: Joseph Blank <https://github.com/jblank/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Updated by: Nicholas Wong <https://github.com/nickwph>
interface JQuery {
JQuerySteps(param?: JQuerySteps.Settings): JQuerySteps.JQuerySteps;
steps(param?: JQuerySteps.Settings): JQuerySteps.JQuerySteps;
}
declare module JQuerySteps {
@@ -194,7 +195,7 @@ declare module JQuerySteps {
/**
* The animation effect which will be used for step transitions. Default value is none or 0.
* This can be none (0), fade (1), slide (2) or slideLeft (3).
* This can be none (0), fade (1), slide (2) or slideLeft (3).
*/
transitionEffect?: string|number;
@@ -343,7 +344,7 @@ declare module JQuerySteps {
/**
* Indicates how the content will be loaded.
* This can be html (0), iframe (1), or async (2).
* This can be html (0), iframe (1), or async (2).
*/
contentMode?: string|number;