Skip to content

Commit cd58a4f

Browse files
committed
documentation
1 parent 3509be1 commit cd58a4f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ui/public/fixed_scroll.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import uiModules from 'ui/modules';
44

55
const SCROLLER_HEIGHT = 20;
66

7+
/**
8+
* This directive adds a fixed horizontal scrollbar to the bottom of the window that proxies its scroll events
9+
* to the target element's real scrollbar. This is useful when the target element's horizontal scrollbar
10+
* might be waaaay down the page, like the doc table on Discover.
11+
*/
712
uiModules
813
.get('kibana')
914
.directive('fixedScroll', function ($timeout) {

0 commit comments

Comments
 (0)