npm.io
0.7.8 • Published 2 years ago

@types/jquery-match-height

Licence
MIT
Version
0.7.8
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0337 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Andrea Briganti.