public static ScrollSpy scrollSpy ( final UIObject spyOn , final String selector ) { return new ScrollSpy ( spyOn . getElement ( ) , selector ) ; }
Attaches ScrollSpy to specified object with specified target selector .