Skip to content

Commit

Permalink
feat(core): add scrollable view properties to connected pos strategy (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
andrewseguin authored and jelbourn committed Dec 22, 2016
1 parent 634bd0f commit b60d33f
Show file tree
Hide file tree
Showing 12 changed files with 724 additions and 416 deletions.
12 changes: 6 additions & 6 deletions src/demo-app/tooltip/tooltip-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ <h1>Tooltip Demo</h1>

<p class="centered">
<button #tooltip="mdTooltip"
md-raised-button
color="primary"
[mdTooltip]="message"
[mdTooltipPosition]="position"
[mdTooltipShowDelay]="showDelay"
[mdTooltipHideDelay]="hideDelay">
md-raised-button
color="primary"
[mdTooltip]="message"
[mdTooltipPosition]="position"
[mdTooltipShowDelay]="showDelay"
[mdTooltipHideDelay]="hideDelay">
Mouse over to see the tooltip
</button>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/tooltip/tooltip-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export class TooltipDemo {
position: TooltipPosition = 'below';
message: string = 'Here is the tooltip';
showDelay = 0;
hideDelay = 0;
hideDelay = 1000;
}
Loading

0 comments on commit b60d33f

Please sign in to comment.