From 5ef03d31b476a86cb9bd5b64a01d1a9fa966a3ba Mon Sep 17 00:00:00 2001 From: Jan Hirzel Date: Wed, 12 Jul 2017 12:39:40 +0200 Subject: [PATCH] [jquery.tooltipster] Added definition for 'side' option Definition description is taken from the project page and tested with Typescript 4.1. --- types/jquery.tooltipster/index.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/types/jquery.tooltipster/index.d.ts b/types/jquery.tooltipster/index.d.ts index 8d2e580d35..3182ee3bb9 100644 --- a/types/jquery.tooltipster/index.d.ts +++ b/types/jquery.tooltipster/index.d.ts @@ -1,6 +1,9 @@ // Type definitions for jQuery Tooltipster 3.3.0 // Project: https://github.com/iamceege/tooltipster -// Definitions by: Patrick Magee , Dmitry Pesterev , Leonard Thieu +// Definitions by: Patrick Magee , +// Dmitry Pesterev , +// Leonard Thieu , +// Jan Hirzel // 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;