mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
557 B
TypeScript
23 lines
557 B
TypeScript
// Type definitions for JQuery Pin 1.0
|
|
// Project: https://github.com/webpop/jquery.pin
|
|
// Definitions by: Anderson Friaça <https://github.com/AndersonFriaca>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
/// <reference types="jquery" />
|
|
|
|
export interface Options {
|
|
minWidth?: number;
|
|
activeClass?: string;
|
|
containerSelector?: string;
|
|
padding?: {
|
|
top?: number;
|
|
bottom?: number;
|
|
};
|
|
}
|
|
declare global {
|
|
interface JQuery {
|
|
pin(options?: Options): JQuery;
|
|
}
|
|
}
|