1.9.35 • Published 1 year ago
@types/jquery.tinycarousel v1.9.35
Installation
npm install --save @types/jquery.tinycarousel
Summary
This package contains type definitions for jQuery tinycarousel (http://baijs.nl/tinycarousel/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.tinycarousel.
index.d.ts
// Type definitions for jQuery tinycarousel 1.9
// Project: http://baijs.nl/tinycarousel/
// Definitions by: Christiaan Rakowski <https://github.com/csrakowski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
declare namespace JQueryTinyCarousel {
export interface JQueryTinyCarouselOptions {
/**
* Start block of the carousel. (default: 1)
*/
start?: number | undefined;
/**
* Vertical or horizontal scroller? 'x' or 'y'. (default: 'x')
*/
axis?: string | undefined;
/**
* How many blocks do you want to move at a time? (default: 1)
*/
display?: number | undefined;
/**
* If interval is true and rewind is true it will play in reverse if the last slide is reached. (default: false)
*/
rewind?: boolean | undefined;
/**
* Show left and right navigation buttons? (default: true)
*/
controls?: boolean | undefined;
/**
* Show page number navigation buttons? (default: false)
*/
pager?: boolean | undefined;
/**
* Move to the next block on an interval. (default: false)
*/
interval?: boolean | undefined;
/**
* Interval time in milliseconds. (default: 3000)
*/
intervaltime?: number | undefined;
/**
* Show animation when changing block? (default: true)
*/
animation?: boolean | undefined;
/**
* Time of the animation in miliseconds (default: 1000)
*/
duration?: number | undefined;
/**
* Function that executes after every move (default: null)
*/
callback? : ((element: HTMLElement, index: number) => void) | undefined;
}
}
interface JQuery {
/**
* Creates a new tinycarousel with the specified, or default, options.
*
* @param options The options
*/
tinycarousel(options?: JQueryTinyCarousel.JQueryTinyCarouselOptions): JQuery;
/**
* Moves the tinycarousel to the specified block.
*
* @param index The index of the block to move to
*/
tinycarousel_move(index: number): void;
/**
* Starts the interval.
*/
tinycarousel_start(): void;
/**
* Stops the interval.
*/
tinycarousel_stop(): void;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 16:22:42 GMT
- Dependencies: @types/jquery
- Global values: none
Credits
These definitions were written by Christiaan Rakowski.
1.9.35
1 year ago
1.9.34
2 years ago
1.9.33
2 years ago
1.9.32
2 years ago
1.9.31
4 years ago
1.9.30
8 years ago
1.9.29
8 years ago
1.9.28
9 years ago
1.9.27
9 years ago
1.9.26-alpha
9 years ago
1.9.25-alpha
9 years ago
1.9.24-alpha
9 years ago
1.9.23-alpha
9 years ago
1.9.22-alpha
9 years ago
1.9.21-alpha
9 years ago
1.9.20-alpha
9 years ago
1.9.15-alpha
9 years ago
1.9.14-alpha
9 years ago