From ee59c9d84ab0515ad30790188690ed6ddbaa0918 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Thu, 4 Jun 2020 19:48:47 +0200 Subject: [PATCH 1/3] (ios) add PreferredContentMode preference --- www/docs/en/dev/config_ref/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md index 64b08196fd..604ef2245b 100644 --- a/www/docs/en/dev/config_ref/index.md +++ b/www/docs/en/dev/config_ref/index.md @@ -324,6 +324,7 @@ OverrideUserAgent(string)
==Android== ==iOS== | If set, the value will rep PageLength(float)
==iOS== | *Default: 0*
The size of each page, in points, in the direction that the pages flow. When PaginationMode is right to left or left to right, this property represents the width of each page. When PaginationMode is topToBottom or bottomToTop, this property represents the height of each page. The default value is 0, which means the layout uses the size of the viewport to determine the dimensions of the page. PaginationBreakingMode(string)
==iOS== | *Default: page*
Allowed values: page, column
Valid values are page and column.The manner in which column- or page-breaking occurs. This property determines whether certain CSS properties regarding column- and page-breaking are honored or ignored. When this property is set to column, the content respects the CSS properties related to column-breaking in place of page-breaking. PaginationMode(string)
==iOS== | *Default: unpaginated*
Allowed values: unpaginated, leftToRight, topToBottom, bottomToTop, rightToLeft
This property determines whether content in the web view is broken up into pages that fill the view one screen at a time,or shown as one long scrolling view. If set to a paginated form, this property toggles a paginated layout on the content, causing the web view to use the values of PageLength and GapBetweenPages to relayout its content. +PreferredContentMode(string)
==iOS== | *Default: auto*
Sets the content mode for the webview and inappbrowsers webview on iPads. Valid values are: `mobile` and `desktop`. SetFullscreen(boolean)
==Android== | *Default: false*
Same as the Fullscreen parameter in the global configuration of this xml file. This Android-specific element is deprecated in favor of the global Fullscreen element, and will be removed in a future version. ShowTitle(boolean)
==Android== | *Default: false*
Show the title at the top of the screen. SplashScreenBackgroundColor
==Windows== | *Default: #464646*
Sets the splashscreen background color. Supports a CSS color name or a four-byte hex value, with the first byte representing the alpha channel, and standard RGB values for the following three bytes.
The alpha channel is ignored although `transparent` value will cause black/white background color in case of Dark/Light theme accordingly. From 8d82c8b8cd4af2bb0ef4a826933da2bb0119ecad Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Thu, 4 Jun 2020 20:35:04 +0200 Subject: [PATCH 2/3] Update index.md --- www/docs/en/dev/config_ref/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md index 604ef2245b..6858cab053 100644 --- a/www/docs/en/dev/config_ref/index.md +++ b/www/docs/en/dev/config_ref/index.md @@ -324,7 +324,7 @@ OverrideUserAgent(string)
==Android== ==iOS== | If set, the value will rep PageLength(float)
==iOS== | *Default: 0*
The size of each page, in points, in the direction that the pages flow. When PaginationMode is right to left or left to right, this property represents the width of each page. When PaginationMode is topToBottom or bottomToTop, this property represents the height of each page. The default value is 0, which means the layout uses the size of the viewport to determine the dimensions of the page. PaginationBreakingMode(string)
==iOS== | *Default: page*
Allowed values: page, column
Valid values are page and column.The manner in which column- or page-breaking occurs. This property determines whether certain CSS properties regarding column- and page-breaking are honored or ignored. When this property is set to column, the content respects the CSS properties related to column-breaking in place of page-breaking. PaginationMode(string)
==iOS== | *Default: unpaginated*
Allowed values: unpaginated, leftToRight, topToBottom, bottomToTop, rightToLeft
This property determines whether content in the web view is broken up into pages that fill the view one screen at a time,or shown as one long scrolling view. If set to a paginated form, this property toggles a paginated layout on the content, causing the web view to use the values of PageLength and GapBetweenPages to relayout its content. -PreferredContentMode(string)
==iOS== | *Default: auto*
Sets the content mode for the webview and inappbrowsers webview on iPads. Valid values are: `mobile` and `desktop`. +PreferredContentMode(string)
==iOS== | *Default: auto*
Sets the content mode (user agent) for the webview and inappbrowsers webview on iPads. Valid values are: `mobile` and `desktop`. SetFullscreen(boolean)
==Android== | *Default: false*
Same as the Fullscreen parameter in the global configuration of this xml file. This Android-specific element is deprecated in favor of the global Fullscreen element, and will be removed in a future version. ShowTitle(boolean)
==Android== | *Default: false*
Show the title at the top of the screen. SplashScreenBackgroundColor
==Windows== | *Default: #464646*
Sets the splashscreen background color. Supports a CSS color name or a four-byte hex value, with the first byte representing the alpha channel, and standard RGB values for the following three bytes.
The alpha channel is ignored although `transparent` value will cause black/white background color in case of Dark/Light theme accordingly. From 8ca59d753a58de920a94c10247c7d3e0bcd674b7 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Fri, 5 Jun 2020 13:27:20 +0200 Subject: [PATCH 3/3] Update www/docs/en/dev/config_ref/index.md --- www/docs/en/dev/config_ref/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md index 6858cab053..992a5aee6b 100644 --- a/www/docs/en/dev/config_ref/index.md +++ b/www/docs/en/dev/config_ref/index.md @@ -324,7 +324,7 @@ OverrideUserAgent(string)
==Android== ==iOS== | If set, the value will rep PageLength(float)
==iOS== | *Default: 0*
The size of each page, in points, in the direction that the pages flow. When PaginationMode is right to left or left to right, this property represents the width of each page. When PaginationMode is topToBottom or bottomToTop, this property represents the height of each page. The default value is 0, which means the layout uses the size of the viewport to determine the dimensions of the page. PaginationBreakingMode(string)
==iOS== | *Default: page*
Allowed values: page, column
Valid values are page and column.The manner in which column- or page-breaking occurs. This property determines whether certain CSS properties regarding column- and page-breaking are honored or ignored. When this property is set to column, the content respects the CSS properties related to column-breaking in place of page-breaking. PaginationMode(string)
==iOS== | *Default: unpaginated*
Allowed values: unpaginated, leftToRight, topToBottom, bottomToTop, rightToLeft
This property determines whether content in the web view is broken up into pages that fill the view one screen at a time,or shown as one long scrolling view. If set to a paginated form, this property toggles a paginated layout on the content, causing the web view to use the values of PageLength and GapBetweenPages to relayout its content. -PreferredContentMode(string)
==iOS== | *Default: auto*
Sets the content mode (user agent) for the webview and inappbrowsers webview on iPads. Valid values are: `mobile` and `desktop`. +PreferredContentMode(string)
==iOS== | *Default: auto*
Sets the content mode (user agent) for the WebView and InAppBrowsers WebView on iPads. Valid values are: `mobile` and `desktop`. SetFullscreen(boolean)
==Android== | *Default: false*
Same as the Fullscreen parameter in the global configuration of this xml file. This Android-specific element is deprecated in favor of the global Fullscreen element, and will be removed in a future version. ShowTitle(boolean)
==Android== | *Default: false*
Show the title at the top of the screen. SplashScreenBackgroundColor
==Windows== | *Default: #464646*
Sets the splashscreen background color. Supports a CSS color name or a four-byte hex value, with the first byte representing the alpha channel, and standard RGB values for the following three bytes.
The alpha channel is ignored although `transparent` value will cause black/white background color in case of Dark/Light theme accordingly.