1.8.35 • Published 1 year ago
@types/jquery.tinyscrollbar v1.8.35
Installation
npm install --save @types/jquery.tinyscrollbar
Summary
This package contains type definitions for jQuery tinyscrollbar (http://baijs.nl/tinyscrollbar/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.tinyscrollbar.
index.d.ts
// Type definitions for jQuery tinyscrollbar 1.8
// Project: http://baijs.nl/tinyscrollbar/
// Definitions by: Christiaan Rakowski <https://github.com/csrakowski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
declare namespace JQueryTinyScrollbar {
export interface JQueryTinyScrollbarOptions {
/**
* Enable mobile invert style scrolling. (default: false)
*/
invertscroll?: boolean | undefined;
/**
* Vertical or horizontal scroller? 'x' or 'y'. (default: 'x')
*/
axis?: string | undefined;
/**
* How many pixels must the mouswheel scrolls at a time. (default: 40)
*/
wheel?: number | undefined;
/**
* Enable or disable the mousewheel. (default: true)
*/
scroll?: boolean | undefined;
/**
* Return scrollwheel event to browser if there is no more content. (default: true)
*/
lockscroll?: boolean | undefined;
/**
* Set the size of the scrollbar to auto or a fixed number. (default: 'auto')
*/
size?: any;
/**
* Set the size of the thumb to auto or a fixed number. (default: 'auto')
*/
sizethumb?: any;
}
}
interface JQuery {
/**
* Creates a new tinyscrollbar with the specified, or default, options.
*
* @param options The options
*/
tinyscrollbar(options?: JQueryTinyScrollbar.JQueryTinyScrollbarOptions): JQuery;
/**
* Updates an existing tinyscrollbar with the specified, or default, options.
*
* @param options The options
*/
tinyscrollbar_update(options?: any): JQuery;
}
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.8.35
1 year ago
1.8.32
2 years ago
1.8.33
2 years ago
1.8.34
2 years ago
1.8.31
4 years ago
1.8.30
8 years ago
1.8.29
8 years ago
1.8.28
9 years ago
1.8.27
9 years ago
1.8.26-alpha
9 years ago
1.8.25-alpha
9 years ago
1.8.24-alpha
9 years ago
1.8.23-alpha
9 years ago
1.8.22-alpha
9 years ago
1.8.21-alpha
9 years ago
1.8.20-alpha
9 years ago
1.8.15-alpha
9 years ago
1.8.14-alpha
9 years ago