mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
[jquery.tooltipster] Added definition for 'side' option
Definition description is taken from the project page and tested with Typescript 4.1.
This commit is contained in:
Vendored
+8
-1
@@ -1,6 +1,9 @@
|
||||
// Type definitions for jQuery Tooltipster 3.3.0
|
||||
// Project: https://github.com/iamceege/tooltipster
|
||||
// Definitions by: Patrick Magee <https://github.com/pjmagee/>, Dmitry Pesterev <https://github.com/VorobeY1326/>, Leonard Thieu <https://github.com/leonard-thieu>
|
||||
// Definitions by: Patrick Magee <https://github.com/pjmagee/>,
|
||||
// Dmitry Pesterev <https://github.com/VorobeY1326/>,
|
||||
// Leonard Thieu <https://github.com/leonard-thieu>,
|
||||
// Jan Hirzel <https://github.com/janhi/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -137,6 +140,10 @@ interface JQueryTooltipsterOptions {
|
||||
*/
|
||||
restoration?: string;
|
||||
/**
|
||||
* Sets the side of the tooltip. The value may one of the following: 'top', 'bottom', 'left', 'right'. It may also be an array containing one or more of these values. When using an array, the order of values is taken into account as order of fallbacks and the absence of a side disables it (see the sides section). Default: ['top', 'bottom', 'right', 'left']
|
||||
*/
|
||||
side?: string | string[];
|
||||
/**
|
||||
* Set the speed of the animation. Default: 350
|
||||
*/
|
||||
speed?: number;
|
||||
|
||||
Reference in New Issue
Block a user