@types/jquery.tinyscrollbar
TypeScript icon, indicating that this package has built-in type declarations

1.8.35 • Public • Published

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

/// <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: Tue, 30 Jan 2024 21:35:45 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Christiaan Rakowski.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery.tinyscrollbar

Weekly Downloads

24

Version

1.8.35

License

MIT

Unpacked Size

5.75 kB

Total Files

5

Last publish

Collaborators

  • types