docs(): add iOS only note to translucent props (#18529)

* docs(): add ios-only note to translucency

* change wording slightly

* update ios only verbiage
This commit is contained in:
Liam DeBeasi
2019-06-13 16:04:40 -04:00
committed by GitHub
parent eb9bad7a31
commit 7f1829eb21
5 changed files with 14 additions and 14 deletions

View File

@@ -1634,7 +1634,7 @@ export namespace Components {
*/
'mode': Mode;
/**
* If `true`, the footer will be translucent. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content.
* If `true`, the footer will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content.
*/
'translucent': boolean;
}
@@ -1644,7 +1644,7 @@ export namespace Components {
*/
'mode'?: Mode;
/**
* If `true`, the footer will be translucent. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content.
* If `true`, the footer will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content.
*/
'translucent'?: boolean;
}
@@ -1668,7 +1668,7 @@ export namespace Components {
*/
'mode': Mode;
/**
* If `true`, the header will be translucent. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content.
* If `true`, the header will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content.
*/
'translucent': boolean;
}
@@ -1678,7 +1678,7 @@ export namespace Components {
*/
'mode'?: Mode;
/**
* If `true`, the header will be translucent. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content.
* If `true`, the header will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content.
*/
'translucent'?: boolean;
}

View File

@@ -17,7 +17,7 @@ export class Footer implements ComponentInterface {
@Prop() mode!: Mode;
/**
* If `true`, the footer will be translucent.
* If `true`, the footer will be translucent. Only applies to `ios` mode.
* Note: In order to scroll content behind the footer, the `fullscreen`
* attribute needs to be set on the content.
*/

View File

@@ -47,10 +47,10 @@ export default Example;
## Properties
| Property | Attribute | Description | Type | Default |
| ------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------- |
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
| `translucent` | `translucent` | If `true`, the footer will be translucent. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content. | `boolean` | `false` |
| Property | Attribute | Description | Type | Default |
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------- |
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
| `translucent` | `translucent` | If `true`, the footer will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the footer, the `fullscreen` attribute needs to be set on the content. | `boolean` | `false` |
----------------------------------------------

View File

@@ -17,7 +17,7 @@ export class Header implements ComponentInterface {
@Prop() mode!: Mode;
/**
* If `true`, the header will be translucent.
* If `true`, the header will be translucent. Only applies to `ios` mode.
* Note: In order to scroll content behind the header, the `fullscreen`
* attribute needs to be set on the content.
*/

View File

@@ -62,10 +62,10 @@ export default Example
## Properties
| Property | Attribute | Description | Type | Default |
| ------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------- |
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
| `translucent` | `translucent` | If `true`, the header will be translucent. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content. | `boolean` | `false` |
| Property | Attribute | Description | Type | Default |
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------- |
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
| `translucent` | `translucent` | If `true`, the header will be translucent. Only applies to `ios` mode. Note: In order to scroll content behind the header, the `fullscreen` attribute needs to be set on the content. | `boolean` | `false` |
----------------------------------------------