From ce20522e13e4e064a846bf26287db785fe1de27c Mon Sep 17 00:00:00 2001 From: "l.gersen@visymo.com" Date: Fri, 8 Feb 2019 10:42:23 +0100 Subject: [PATCH] Document removeTooltips --- documentation/slider-options.php | 2 +- documentation/slider-options/tooltips.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/slider-options.php b/documentation/slider-options.php index 4267094c..6821d4c7 100644 --- a/documentation/slider-options.php +++ b/documentation/slider-options.php @@ -347,7 +347,7 @@

noUiSlider can provide a basic tooltip using the tooltips option. This option can also accept formatting options to format the tooltips content. In that case, pass an array with a formatter for each handle, true to use the default or false to display no tooltip.

-

Tooltips can be removed from a slider using removeTooltips.

+

Tooltips can be removed from a slider using the removeTooltips() method.

diff --git a/documentation/slider-options/tooltips.js b/documentation/slider-options/tooltips.js index 35652e41..18e5f6b4 100644 --- a/documentation/slider-options/tooltips.js +++ b/documentation/slider-options/tooltips.js @@ -8,3 +8,6 @@ noUiSlider.create(tooltipSlider, { 'max': 200 } }); + +// Remove tooltips: +// tooltipSlider.noUiSlider.removeTooltips();