12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #import "WXType.h"
- @class WXComponent;
- @protocol WXScrollerProtocol <NSObject>
- - (void)addStickyComponent:(WXComponent *)sticky;
- - (void)removeStickyComponent:(WXComponent *)sticky;
- - (void)adjustSticky;
- - (void)addScrollToListener:(WXComponent *)target;
- - (void)removeScrollToListener:(WXComponent *)target;
- - (void)scrollToComponent:(WXComponent *)component withOffset:(CGFloat)offset animated:(BOOL)animated;
- - (BOOL)isNeedLoadMore;
- - (void)loadMore;
- - (CGPoint)contentOffset;
- - (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;
- - (CGSize)contentSize;
- - (void)setContentSize:(CGSize)size;
- - (UIEdgeInsets)contentInset;
- - (void)setContentInset:(UIEdgeInsets)contentInset;
- - (void)resetLoadmore;
- - (void)addScrollDelegate:(id<UIScrollViewDelegate>)delegate;
- - (void)removeScrollDelegate:(id<UIScrollViewDelegate>)delegate;
- - (WXScrollDirection)scrollDirection;
- @optional
- - (NSString*)refreshType;
- - (BOOL)requestGestureShouldStopPropagation:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch;
- - (void)adjustForRTL;
- @end
|