Skip to content

Commit b60d33f

Browse files
andrewseguinjelbourn
authored andcommitted
feat(core): add scrollable view properties to connected pos strategy (#2259)
* feat(scroll): provide directive and service to listen to scrolling * review response * fix lint * move scroll to overlay * feat(scroll): hide tooltip when clipped by scrollable container * use overlay for clipping instead of trigger * add tooltip test * add test for scroll dispatcher * add comment about the ScrollableViewProperties * revert tooltip demo * add extra lines to tooltip demo files * add connected position strategy tests * make lint happy * add scroll demo to tooltip * make FF and IE happy in tests * change test back to Chrome * remove fdescribe * resolve comments * remove usage of scrollables until throttling is set up * remove sha * remove combineLatest * remove unused OnInit import
1 parent 634bd0f commit b60d33f

File tree

12 files changed

+724
-416
lines changed

12 files changed

+724
-416
lines changed

src/demo-app/tooltip/tooltip-demo.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ <h1>Tooltip Demo</h1>
33

44
<p class="centered">
55
<button #tooltip="mdTooltip"
6-
md-raised-button
7-
color="primary"
8-
[mdTooltip]="message"
9-
[mdTooltipPosition]="position"
10-
[mdTooltipShowDelay]="showDelay"
11-
[mdTooltipHideDelay]="hideDelay">
6+
md-raised-button
7+
color="primary"
8+
[mdTooltip]="message"
9+
[mdTooltipPosition]="position"
10+
[mdTooltipShowDelay]="showDelay"
11+
[mdTooltipHideDelay]="hideDelay">
1212
Mouse over to see the tooltip
1313
</button>
1414
</p>

src/demo-app/tooltip/tooltip-demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export class TooltipDemo {
1212
position: TooltipPosition = 'below';
1313
message: string = 'Here is the tooltip';
1414
showDelay = 0;
15-
hideDelay = 0;
15+
hideDelay = 1000;
1616
}

0 commit comments

Comments
 (0)