mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
feat(all): strong typed ComponentProps
This commit is contained in:
@ -11,10 +11,10 @@
|
||||
| Property | Attribute | Description | Type |
|
||||
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
|
||||
| `mediaQuery` | `media-query` | If the current media query matches this value, the element will hide. | `string` |
|
||||
| `mode` | `mode` | If the current platform matches the given value, the element will hide. Accepts a comma separated list of modes to match against. | `Mode` |
|
||||
| `modes` | `modes` | If the current platform matches the given value, the element will hide. 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 hide when all are true. If true, and two or more conditions are set, the element will hide when at least one is true. | `boolean` |
|
||||
| `orientation` | `orientation` | If the current orientation matches this value, the element will hide. | `string` |
|
||||
| `platform` | `platform` | If the current platform matches the given value, the element will hide. Accepts a comma separated list of platform to match against. | `string` |
|
||||
| `platform` | `platform` | If the current platform matches the given value, the element will hide. Accepts a comma separated list of platforms to match against. | `string` |
|
||||
| `size` | `size` | If the current screen width matches the given size, the element will hide. Uses the build in sizes of xs, sm, md, lg, xl. | `string` |
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user