Implement 'scrollEnabled' prop

Summary:
@public

The content of `WKWebView` renders within a scrollview. In this diff, I'm introducing the prop `scrollEnabled` to allow developers to control whether scrolling is enabled within the scroll view, or not.

Reviewed By: mmmulani

Differential Revision: D6307001

fbshipit-source-id: 5a199c6c3b8535e45a5a3cb6041e822bb7af2362
This commit is contained in:
Ramanpreet Nara
2018-08-16 13:34:05 -07:00
committed by Facebook Github Bot
parent e5f95aba9b
commit 1741fe9571
3 changed files with 9 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
@property (nonatomic, copy) NSDictionary *source;
@property (nonatomic, assign) BOOL messagingEnabled;
@property (nonatomic, copy) NSString *injectedJavaScript;
@property (nonatomic, assign) BOOL scrollEnabled;
- (void)postMessage:(NSString *)message;