2015-06-08 14:08:54 -04:00
|
|
|
/**
|
2015-06-19 15:48:50 -04:00
|
|
|
* Copyright (c) 2015-present, Ali Najafizadeh.
|
|
|
|
|
* Ali Najafizadeh
|
|
|
|
|
* MIT
|
2015-06-08 14:08:54 -04:00
|
|
|
*/
|
|
|
|
|
|
2015-06-19 15:48:50 -04:00
|
|
|
#import "RCTWebView.h"
|
2015-06-08 16:52:07 -04:00
|
|
|
#import "RCTBridge.h"
|
2015-06-08 14:08:54 -04:00
|
|
|
|
|
|
|
|
@class RCTEventDispatcher;
|
|
|
|
|
|
2015-06-19 15:48:50 -04:00
|
|
|
@interface WebViewEx : RCTWebView
|
2015-06-08 14:08:54 -04:00
|
|
|
|
2015-06-24 14:21:45 -04:00
|
|
|
- (void)eval:(NSString *)value;
|
2015-06-08 16:31:20 -04:00
|
|
|
- (void)send:(id)message;
|
2015-06-08 16:52:07 -04:00
|
|
|
- (void)onMessage:(RCTResponseSenderBlock)callback;
|
2015-06-08 14:08:54 -04:00
|
|
|
|
2015-06-19 15:48:50 -04:00
|
|
|
@end
|