Skip to content

Commit 37ce024

Browse files
naaajiicrisbeto
authored andcommitted
docs(material/tooltip): missing positionAtOrigin documentation (#27134)
add description for Input('matTooltipPositionAtOrigin') (cherry picked from commit 4bce5cb)
1 parent 47e725b commit 37ce024

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/material/tooltip/tooltip.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ export abstract class _MatTooltipBase<T extends _TooltipComponentBase>
200200
}
201201
}
202202

203+
/**
204+
* Whether tooltip should be relative to the click or touch origin
205+
* instead of outside the element bounding box.
206+
*/
203207
@Input('matTooltipPositionAtOrigin')
204208
get positionAtOrigin(): boolean {
205209
return this._positionAtOrigin;

tools/public_api_guard/material/tooltip.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ export abstract class _MatTooltipBase<T extends _TooltipComponentBase> implement
107107
_overlayRef: OverlayRef | null;
108108
get position(): TooltipPosition;
109109
set position(value: TooltipPosition);
110-
// (undocumented)
111110
get positionAtOrigin(): boolean;
112111
set positionAtOrigin(value: BooleanInput);
113112
show(delay?: number, origin?: {

0 commit comments

Comments
 (0)