Skip to content

Commit 82cfd49

Browse files
authored
docs(material/tooltip): minor refresh to documentation (angular#29226)
1 parent 004a943 commit 82cfd49

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/material/tooltip/tooltip.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ over or longpresses an element.
55

66
### Positioning
77

8-
The tooltip will be displayed below the element but this can be configured using the
8+
The tooltip will be displayed below the element by default, but this can be configured using the
99
`matTooltipPosition` input.
10-
The tooltip can be displayed above, below, left, or right of the element. By default the position
11-
will be below. If the tooltip should switch left/right positions in an RTL layout direction, then
12-
the positions `before` and `after` should be used instead of `left` and `right`, respectively.
10+
The tooltip can be displayed above, below, left, or right of the element. If the tooltip should
11+
switch left/right positions in an RTL layout direction, then the input values `before` and `after`
12+
should be used instead of `left` and `right`, respectively.
1313

1414
| Position | Description |
1515
|-----------|--------------------------------------------------------------------------------------|
@@ -38,7 +38,7 @@ it will display the same as if this setting was turned off.
3838
By default, the tooltip will be immediately shown when the user's mouse hovers over the tooltip's
3939
trigger element and immediately hides when the user's mouse leaves.
4040

41-
On mobile, the tooltip is displayed when the user longpresses the element and hides after a
41+
On mobile, the tooltip displays when the user longpresses the element and hides after a
4242
delay of 1500ms.
4343

4444
#### Show and hide delays
@@ -58,7 +58,7 @@ your options using the `MAT_TOOLTIP_DEFAULT_OPTIONS` injection token.
5858

5959
<!-- example(tooltip-modified-defaults) -->
6060

61-
#### Manually calling show() and hide()
61+
#### Manually showing and hiding the tooltip
6262

6363
To manually cause the tooltip to show or hide, you can call the `show` and `hide` directive methods,
6464
which both accept a number in milliseconds to delay before applying the display change.
@@ -74,7 +74,7 @@ shown.
7474

7575
`MatTooltip` adds an `aria-describedby` description that provides a reference
7676
to a visually hidden element containing the tooltip's message. This provides screen-readers
77-
the information needed to read out the tooltip's contents when the end-user focuses on
77+
the information needed to read out the tooltip's contents when the user focuses on
7878
tooltip's trigger. The element referenced by `aria-describedby` is not the tooltip itself,
7979
but instead an invisible copy of the tooltip content that is always present in the DOM.
8080

0 commit comments

Comments
 (0)