@types/nivo-slider
TypeScript icon, indicating that this package has built-in type declarations

3.2.5 • Public • Published

Installation

npm install --save @types/nivo-slider

Summary

This package contains type definitions for nivo-slider (https://github.com/Codeinwp/Nivo-Slider-jQuery).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nivo-slider.

index.d.ts

/// <reference types="jquery" />

export type EffectType =
    | "sliceDown"
    | "sliceDownLeft"
    | "sliceUp"
    | "sliceUpLeft"
    | "sliceUpDown"
    | "sliceUpDownLeft"
    | "fold"
    | "fade"
    | "random"
    | "slideInRight"
    | "slideInLeft"
    | "boxRandom"
    | "boxRain"
    | "boxRainReverse"
    | "boxRainGrow"
    | "boxRainGrowReverse";

export interface Options {
    effect?: EffectType | undefined;
    slices?: number | undefined;
    boxCols?: number | undefined;
    boxRows?: number | undefined;
    animSpeed?: number | undefined;
    pauseTime?: number | undefined;
    startSlide?: number | undefined;
    directionNav?: boolean | undefined;
    controlNav?: boolean | undefined;
    controlNavThumbs?: boolean | undefined;
    pauseOnHover?: boolean | undefined;
    manualAdvance?: boolean | undefined;
    prevText?: string | undefined;
    nextText?: string | undefined;
    randomStart?: boolean | undefined;
    beforeChange?: (() => void) | undefined;
    afterChange?: (() => void) | undefined;
    slideshowEnd?: (() => void) | undefined;
    lastSlide?: (() => void) | undefined;
    afterLoad?: (() => void) | undefined;
}
declare global {
    interface JQuery {
        nivoSlider(options?: Options): JQuery;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Anderson Friaça.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/nivo-slider

Weekly Downloads

6

Version

3.2.5

License

MIT

Unpacked Size

5.21 kB

Total Files

5

Last publish

Collaborators

  • types