fix(all): docs for all missing props

This commit is contained in:
Manu Mtz.-Almeida
2018-10-11 16:02:15 -05:00
committed by Manu MA
parent 53305741a0
commit a72fced6fe
119 changed files with 1026 additions and 657 deletions

View File

@ -9,14 +9,14 @@ ShowWhen can watch for platform changes, mode changes, css media queries, and de
## Properties
| Property | Attribute | Description | Type |
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
| `mediaQuery` | `media-query` | If the current media query matches this value, the element will show. | `string` |
| `modes` | `modes` | If the current platform matches the given value, the element will show. Accepts a comma separated list of modes to match against. | `string` |
| `or` | `or` | If false, and two or more conditions are set, the element will show when all are true. If true, and two or more conditions are set, the element will show when at least one is true. | `boolean` |
| `orientation` | `orientation` | If the current orientation matches this value, the element will show. | `string` |
| `platform` | `platform` | If the current platform matches the given value, the element will show. Accepts a comma separated list of platform to match against. | `string` |
| `size` | `size` | If the current screen width matches the given size, the element will show. Uses the build in sizes of xs, sm, md, lg, xl. | `string` |
| Property | Attribute | Description | Type |
| ------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `mediaQuery` | `media-query` | If the current media query matches this value, the element will show. | `string` |
| `modes` | `modes` | If the current platform matches the given value, the element will show. Accepts a comma separated list of modes to match against. | `string` |
| `or` | `or` | If `false`, and two or more conditions are set, the element will show when all are true. If `true`, and two or more conditions are set, the element will show when at least one is true. | `boolean` |
| `orientation` | `orientation` | If the current orientation matches this value, the element will show. | `string` |
| `platform` | `platform` | If the current platform matches the given value, the element will show. Accepts a comma separated list of platform to match against. | `string` |
| `size` | `size` | If the current screen width matches the given size, the element will show. Uses the build in sizes of xs, sm, md, lg, xl. | `string` |
----------------------------------------------

View File

@ -44,8 +44,8 @@ export class ShowWhen implements ComponentInterface, DisplayWhen {
@Prop() platform?: string;
/**
* If false, and two or more conditions are set, the element will show when all are true.
* If true, and two or more conditions are set, the element will show when at least one is true.
* If `false`, and two or more conditions are set, the element will show when all are true.
* If `true`, and two or more conditions are set, the element will show when at least one is true.
*/
@Prop() or = false;