0.7.8 • Published 6 months ago
@types/jquery-match-height v0.7.8
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
// Type definitions for jquery-match-height 0.7
// Project: https://github.com/liabru/jquery-match-height, http://brm.io/jquery-match-height
// Definitions by: Andrea Briganti <https://github.com/kbytesys>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <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: Thu, 08 Jul 2021 16:22:28 GMT
- Dependencies: @types/jquery
- Global values: none
Credits
These definitions were written by Andrea Briganti.