[ 
https://issues.apache.org/jira/browse/WEEX-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xingZhang updated WEEX-375:
---------------------------
    Description: 
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}

  was:
{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}


> 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