@capacitor/browser
Advanced tools
Comparing version
@@ -6,2 +6,13 @@ # Change Log | ||
# [4.0.0-beta.2](https://github.com/ionic-team/capacitor-plugins/compare/4.0.0-beta.0...4.0.0-beta.2) (2022-07-08) | ||
### Features | ||
* **browser:** Allow to configure popover size ([#1056](https://github.com/ionic-team/capacitor-plugins/issues/1056)) ([90eb1e5](https://github.com/ionic-team/capacitor-plugins/commit/90eb1e5356aab11103f9b1f56808102ee42f2f1b)) | ||
# 4.0.0-beta.0 (2022-06-27) | ||
@@ -8,0 +19,0 @@ |
@@ -180,2 +180,26 @@ { | ||
"type": "'fullscreen' | 'popover' | undefined" | ||
}, | ||
{ | ||
"name": "width", | ||
"tags": [ | ||
{ | ||
"text": "4.0.0", | ||
"name": "since" | ||
} | ||
], | ||
"docs": "iOS only: The width the browser when using presentationStyle 'popover' on iPads.\n\nIgnored on other platforms.", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
}, | ||
{ | ||
"name": "height", | ||
"tags": [ | ||
{ | ||
"text": "4.0.0", | ||
"name": "since" | ||
} | ||
], | ||
"docs": "iOS only: The height the browser when using presentationStyle 'popover' on iPads.\n\nIgnored on other platforms.", | ||
"complexTypes": [], | ||
"type": "number | undefined" | ||
} | ||
@@ -182,0 +206,0 @@ ] |
@@ -75,2 +75,18 @@ import type { PluginListenerHandle } from '@capacitor/core'; | ||
presentationStyle?: 'fullscreen' | 'popover'; | ||
/** | ||
* iOS only: The width the browser when using presentationStyle 'popover' on iPads. | ||
* | ||
* Ignored on other platforms. | ||
* | ||
* @since 4.0.0 | ||
*/ | ||
width?: number; | ||
/** | ||
* iOS only: The height the browser when using presentationStyle 'popover' on iPads. | ||
* | ||
* Ignored on other platforms. | ||
* | ||
* @since 4.0.0 | ||
*/ | ||
height?: number; | ||
} | ||
@@ -77,0 +93,0 @@ /** |
{ | ||
"name": "@capacitor/browser", | ||
"version": "4.0.0-beta.0", | ||
"version": "4.0.0-beta.2", | ||
"description": "The Browser API provides the ability to open an in-app browser and subscribe to browser events.", | ||
@@ -82,3 +82,3 @@ "main": "dist/plugin.cjs.js", | ||
}, | ||
"gitHead": "fd7db8285f72990522da0adc889514c9804b6dae" | ||
"gitHead": "32240b675c12a774920c07a86b4483ecec7a9c8d" | ||
} |
@@ -149,2 +149,4 @@ # @capacitor/browser | ||
| **`presentationStyle`** | <code>'fullscreen' \| 'popover'</code> | iOS only: The presentation style of the browser. Defaults to fullscreen. Ignored on other platforms. | 1.0.0 | | ||
| **`width`** | <code>number</code> | iOS only: The width the browser when using presentationStyle 'popover' on iPads. Ignored on other platforms. | 4.0.0 | | ||
| **`height`** | <code>number</code> | iOS only: The height the browser when using presentationStyle 'popover' on iPads. Ignored on other platforms. | 4.0.0 | | ||
@@ -151,0 +153,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
60052
4.45%703
6.03%160
1.27%