mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
chore(): update to latest stencil
This commit is contained in:
@ -8,69 +8,25 @@ Label is a wrapper element that can be used in combination with `ion-item`, `ion
|
||||
|
||||
## Properties
|
||||
|
||||
#### color
|
||||
|
||||
string
|
||||
|
||||
The color to use from your application's color palette.
|
||||
Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
||||
For more information on colors, see [theming](/docs/theming/basics).
|
||||
|
||||
|
||||
#### mode
|
||||
|
||||
string
|
||||
|
||||
The mode determines which platform styles to use.
|
||||
Possible values are: `"ios"` or `"md"`.
|
||||
|
||||
|
||||
#### position
|
||||
|
||||
string
|
||||
|
||||
The position determines where and how the label behaves inside an item.
|
||||
Possible values are: 'inline' | 'fixed' | 'stacked' | 'floating'
|
||||
|
||||
|
||||
## Attributes
|
||||
|
||||
#### color
|
||||
|
||||
string
|
||||
|
||||
The color to use from your application's color palette.
|
||||
Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
||||
For more information on colors, see [theming](/docs/theming/basics).
|
||||
|
||||
|
||||
#### mode
|
||||
|
||||
string
|
||||
|
||||
The mode determines which platform styles to use.
|
||||
Possible values are: `"ios"` or `"md"`.
|
||||
|
||||
|
||||
#### position
|
||||
|
||||
string
|
||||
|
||||
The position determines where and how the label behaves inside an item.
|
||||
Possible values are: 'inline' | 'fixed' | 'stacked' | 'floating'
|
||||
| Property | Attribute | Description | Type |
|
||||
| ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
|
||||
| `color` | `color` | The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics). | `Color` |
|
||||
| `mode` | `mode` | The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. | `Mode` |
|
||||
| `position` | `position` | The position determines where and how the label behaves inside an item. Possible values are: 'inline' | 'fixed' | 'stacked' | 'floating' | `'fixed' | 'stacked' | 'floating'` |
|
||||
|
||||
|
||||
## Events
|
||||
|
||||
#### ionStyle
|
||||
|
||||
Emitted when the styles change.
|
||||
| Event | Description |
|
||||
| ---------- | ------------------------------- |
|
||||
| `ionStyle` | Emitted when the styles change. |
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
#### getText()
|
||||
|
||||
| Method | Description |
|
||||
| --------- | ----------- |
|
||||
| `getText` | |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user