From abec992fdf11e8e219f52e9cc899546dfb746058 Mon Sep 17 00:00:00 2001 From: Rafael Santana Date: Fri, 14 Jul 2017 18:05:36 -0300 Subject: [PATCH] docs(tooltip): fix typo in tooltip description (#5736) --- src/lib/tooltip/tooltip.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/tooltip/tooltip.md b/src/lib/tooltip/tooltip.md index 41c25ee8a91..56bf51ceab7 100644 --- a/src/lib/tooltip/tooltip.md +++ b/src/lib/tooltip/tooltip.md @@ -1,12 +1,12 @@ -The Angular Material tooltip provides a text label that is displayed with the user hovers -over or longpresses an element. +The Angular Material tooltip provides a text label that is displayed when the user hovers +over or longpresses an element. ### Positioning The tooltip will be displayed below the element but this can be configured using the `mdTooltipPosition` -input. +input. The tooltip can be displayed above, below, left, or right of the element. By default the position will be below. If the tooltip should switch left/right positions in an RTL layout direction, then the positions `before` and `after` should be used instead of `left` and `right`, respectively. @@ -23,11 +23,11 @@ the positions `before` and `after` should be used instead of `left` and `right`, ### Showing and hiding -The tooltip is immediately shown when the user's mouse hovers over the element and immediately +The tooltip is immediately shown when the user's mouse hovers over the element and immediately hides when the user's mouse leaves. A delay in showing or hiding the tooltip can be added through the inputs `mdTooltipShowDelay` and `mdTooltipHideDelay`. -On mobile, the tooltip is displayed when the user longpresses the element and hides after a +On mobile, the tooltip is displayed when the user longpresses the element and hides after a delay of 1500ms. The longpress behavior requires HammerJS to be loaded on the page. The tooltip can also be shown and hidden through the `show` and `hide` directive methods,