No Description

index.d.ts 801B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { Component } from 'react';
  2. // eslint-disable-next-line
  3. import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
  4. class WebView extends Component<IOSWebViewProps & AndroidWebViewProps> {
  5. /**
  6. * Go back one page in the webview's history.
  7. */
  8. goBack: () => void;
  9. /**
  10. * Go forward one page in the webview's history.
  11. */
  12. goForward: () => void;
  13. /**
  14. * Reloads the current page.
  15. */
  16. reload: () => void;
  17. /**
  18. * Stop loading the current page.
  19. */
  20. stopLoading(): void;
  21. /**
  22. * Extra Native Component Config.
  23. */
  24. extraNativeComponentConfig: () => any;
  25. /**
  26. * Executes the JavaScript string.
  27. */
  28. injectJavaScript: (script: string) => void;
  29. };
  30. export {WebView};
  31. export default WebView;