mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 06:22:55 +08:00
* Fixing favIconUrl property name typo for TabChangeInfo class * Empty commit to trigger Travis CI * Made direction parameter more specific by using string literal typing
19 lines
651 B
TypeScript
19 lines
651 B
TypeScript
// Type definitions for jquery-visible
|
|
// Project: https://github.com/customd/jquery-visible
|
|
// Definitions by: Andrey Lipatkin <https://github.com/Litee>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference path="../jquery/jquery.d.ts" />
|
|
|
|
type Direction = "horizontal" | "vertical" | "both";
|
|
|
|
interface JQuery {
|
|
/**
|
|
* Gets the value of a setting.
|
|
* @param details Which setting to consider.
|
|
* @param callback The callback parameter should be a function that looks like this:
|
|
* function(object details) {...};
|
|
*/
|
|
visible(partial?: boolean, hidden?: boolean, direction?: Direction): boolean;
|
|
}
|