mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #32485 from small1803/master
lory.js: update to match lory.js 2.5.3 API
This commit is contained in:
commit
fe2a7fa11d
7
types/lory.js/index.d.ts
vendored
7
types/lory.js/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for lory 2.2.1
|
||||
// Type definitions for lory 2.5.3
|
||||
// Project: https://github.com/meandmax/lory/
|
||||
// Definitions by: kubosho <https://github.com/kubosho>
|
||||
// philip bulley <https://github.com/milkisevil>
|
||||
@ -80,6 +80,11 @@ interface LoryOptions {
|
||||
* cubic bezier easing functions: http://easings.net/de (default: 'cubic-bezier(0.455, 0.03, 0.515, 0.955)').
|
||||
*/
|
||||
ease?: string;
|
||||
|
||||
/**
|
||||
* the slide index to show when the slider is initialized ( default: 0 )
|
||||
*/
|
||||
initialIndex?: number;
|
||||
|
||||
/**
|
||||
* if slider reached the last slide, with next click the slider goes back to the startindex (default: false).
|
||||
|
||||
@ -19,6 +19,7 @@ import { lory } from 'lory.js';
|
||||
rewindSpeed: 600,
|
||||
snapBackSpeed: 200,
|
||||
ease: 'ease',
|
||||
initialIndex: 0,
|
||||
rewind: true,
|
||||
infinite: false,
|
||||
classNameFrame: 'js_frame',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user