mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 00:21:41 +08:00
Merge pull request #12895 from nickwph/master
Fixed main method name for jquery-steps
This commit is contained in:
@@ -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>',
|
||||
|
||||
9
jquery-steps/jquery-steps.d.ts
vendored
9
jquery-steps/jquery-steps.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user