H5WEEngineExport.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // H5WebviewProtolca.h
  3. // libPDRCore
  4. //
  5. // Created by DCloud on 16/4/6.
  6. // Copyright © 2016年 DCloud. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIkit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface H5WEWebEngine :NSObject
  12. @property(nullable, nonatomic, retain)NSString* name;
  13. @property (nullable, nonatomic, readonly, strong) NSURLRequest *request;
  14. @property (nonatomic, readonly, getter=canGoBack) BOOL canGoBack;
  15. @property (nonatomic, readonly, getter=canGoForward) BOOL canGoForward;
  16. @property (nonatomic) BOOL scalesPageToFit;
  17. @property (nonatomic) BOOL allowsInlineMediaPlayback;
  18. @property(nonatomic) UIDataDetectorTypes dataDetectorTypes;
  19. @property (nullable, nonatomic, readonly, copy) NSString *title;
  20. @property (nonatomic) BOOL allowsBackForwardNavigationGestures;
  21. - (id)loadRequest:(NSURLRequest*)request;
  22. - (void)stopLoading;
  23. - (void)reload;
  24. - (void)close;
  25. - (void)goBack;
  26. - (void)goForward;
  27. - (void)evaluateJavaScript:(NSString*)javaScriptString completionHandler:(nullable void (^)(id, NSError*))completionHandler;
  28. @end
  29. NS_ASSUME_NONNULL_END