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

0.7.8 • Public • Published

Installation

npm install --save @types/jquery-match-height

Summary

This package contains type definitions for jquery-match-height (https://github.com/liabru/jquery-match-height).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-match-height.

index.d.ts

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

interface JQueryMatchHeight {
    _throttle: number;
    _maintainScroll: boolean;
    _groups: any[];

    /**
     * Set all selected elements to the height of the tallest.
     * If the items are on multiple rows, the items of each row will be set to the tallest of that row.
     */
    (options?: JQueryMatchHeight.Options): JQuery;
    _update(): void;
    _rows($item: JQuery): any[];
    _beforeUpdate(event: JQueryEventObject, groups: any[]): any;
    _afterUpdate(event: JQueryEventObject, groups: any[]): any;
    _apply(elements: any, options: any): void;
}

declare namespace JQueryMatchHeight {
    interface Options {
        byRow?: boolean | undefined;
        property?: string | undefined;
        target?: string | undefined;
        remove?: boolean | undefined;
    }
}

interface JQuery {
    matchHeight: JQueryMatchHeight;
}

Additional Details

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

Credits

These definitions were written by Andrea Briganti.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery-match-height

Weekly Downloads

680

Version

0.7.8

License

MIT

Unpacked Size

4.48 kB

Total Files

5

Last publish

Collaborators

  • types