@capgo/inappbrowser 7.22.0 → 7.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -353,7 +353,7 @@ Sets the URL of the webview.
353
353
  ### addListener('urlChangeEvent', ...)
354
354
 
355
355
  ```typescript
356
- addListener(eventName: "urlChangeEvent", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
356
+ addListener(eventName: 'urlChangeEvent', listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
357
357
  ```
358
358
 
359
359
  Listen for url change, only for openWebView
@@ -373,7 +373,7 @@ Listen for url change, only for openWebView
373
373
  ### addListener('buttonNearDoneClick', ...)
374
374
 
375
375
  ```typescript
376
- addListener(eventName: "buttonNearDoneClick", listenerFunc: ButtonNearListener) => Promise<PluginListenerHandle>
376
+ addListener(eventName: 'buttonNearDoneClick', listenerFunc: ButtonNearListener) => Promise<PluginListenerHandle>
377
377
  ```
378
378
 
379
379
  | Param | Type |
@@ -389,7 +389,7 @@ addListener(eventName: "buttonNearDoneClick", listenerFunc: ButtonNearListener)
389
389
  ### addListener('closeEvent', ...)
390
390
 
391
391
  ```typescript
392
- addListener(eventName: "closeEvent", listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
392
+ addListener(eventName: 'closeEvent', listenerFunc: UrlChangeListener) => Promise<PluginListenerHandle>
393
393
  ```
394
394
 
395
395
  Listen for close click only for openWebView
@@ -409,7 +409,7 @@ Listen for close click only for openWebView
409
409
  ### addListener('confirmBtnClicked', ...)
410
410
 
411
411
  ```typescript
412
- addListener(eventName: "confirmBtnClicked", listenerFunc: ConfirmBtnListener) => Promise<PluginListenerHandle>
412
+ addListener(eventName: 'confirmBtnClicked', listenerFunc: ConfirmBtnListener) => Promise<PluginListenerHandle>
413
413
  ```
414
414
 
415
415
  Will be triggered when user clicks on confirm button when disclaimer is required,
@@ -430,7 +430,7 @@ works with openWebView shareDisclaimer and closeModal
430
430
  ### addListener('messageFromWebview', ...)
431
431
 
432
432
  ```typescript
433
- addListener(eventName: "messageFromWebview", listenerFunc: (event: { detail: Record<string, any>; }) => void) => Promise<PluginListenerHandle>
433
+ addListener(eventName: 'messageFromWebview', listenerFunc: (event: { detail: Record<string, any>; }) => void) => Promise<PluginListenerHandle>
434
434
  ```
435
435
 
436
436
  Will be triggered when event is sent from webview(inappbrowser), to send an event to the main app use window.mobileApp.postMessage({ "detail": { "message": "myMessage" } })
@@ -452,7 +452,7 @@ This method is inject at runtime in the webview
452
452
  ### addListener('browserPageLoaded', ...)
453
453
 
454
454
  ```typescript
455
- addListener(eventName: "browserPageLoaded", listenerFunc: () => void) => Promise<PluginListenerHandle>
455
+ addListener(eventName: 'browserPageLoaded', listenerFunc: () => void) => Promise<PluginListenerHandle>
456
456
  ```
457
457
 
458
458
  Will be triggered when page is loaded
@@ -470,7 +470,7 @@ Will be triggered when page is loaded
470
470
  ### addListener('pageLoadError', ...)
471
471
 
472
472
  ```typescript
473
- addListener(eventName: "pageLoadError", listenerFunc: () => void) => Promise<PluginListenerHandle>
473
+ addListener(eventName: 'pageLoadError', listenerFunc: () => void) => Promise<PluginListenerHandle>
474
474
  ```
475
475
 
476
476
  Will be triggered when page load error
@@ -703,18 +703,18 @@ Construct a type with a set of properties K of type T
703
703
 
704
704
  | Members | Value | Description | Since |
705
705
  | ---------------- | ------------------------- | ---------------------------------------------------------------- | ----- |
706
- | **`ACTIVITY`** | <code>"activity"</code> | Shows a simple toolbar with just a close button and share button | 0.1.0 |
707
- | **`COMPACT`** | <code>"compact"</code> | Shows a simple toolbar with just a close button | 7.6.8 |
708
- | **`NAVIGATION`** | <code>"navigation"</code> | Shows a full navigation toolbar with back/forward buttons | 0.1.0 |
709
- | **`BLANK`** | <code>"blank"</code> | Shows no toolbar | 0.1.0 |
706
+ | **`ACTIVITY`** | <code>'activity'</code> | Shows a simple toolbar with just a close button and share button | 0.1.0 |
707
+ | **`COMPACT`** | <code>'compact'</code> | Shows a simple toolbar with just a close button | 7.6.8 |
708
+ | **`NAVIGATION`** | <code>'navigation'</code> | Shows a full navigation toolbar with back/forward buttons | 0.1.0 |
709
+ | **`BLANK`** | <code>'blank'</code> | Shows no toolbar | 0.1.0 |
710
710
 
711
711
 
712
712
  #### BackgroundColor
713
713
 
714
714
  | Members | Value |
715
715
  | ----------- | -------------------- |
716
- | **`WHITE`** | <code>"white"</code> |
717
- | **`BLACK`** | <code>"black"</code> |
716
+ | **`WHITE`** | <code>'white'</code> |
717
+ | **`BLACK`** | <code>'black'</code> |
718
718
 
719
719
  </docgen-api>
720
720