[ 
https://issues.apache.org/jira/browse/WEEX-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478604#comment-16478604
 ] 

ASF GitHub Bot commented on WEEX-375:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-weex/pull/1183


> add Protocol for PageEventNotifyEvent
> -------------------------------------
>
>                 Key: WEEX-375
>                 URL: https://issues.apache.org/jira/browse/WEEX-375
>             Project: Weex
>          Issue Type: Improvement
>            Reporter: xingZhang
>            Assignee: xingZhang
>            Priority: Major
>
> the handler will called in situations such as rootView clicked, scrollView 
> scrolled, a new page start and ended.
> {code:java}
> //  
> @protocol WXPageEventNotifyEventProtocol <NSObject>
>  
> - (void)hitTest:(CGPoint)point withEvent:(UIEvent *)event 
> withView:(UIView*)view;
>  
> - (void)notifyScrollEvent:(NSString*)instanceId from:(CGPoint)from 
> to:(CGPoint)to;
>  
> - (void)pageStart:(NSString*)instanceId;
>  
> - (void)pageDestroy:(NSString*)instanceId;
>  
> @end
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to