Files
ionic-framework/packages/core/src/components/label
Ross Gerbasi 7e50219d24 fix(theme-builder): update theme builder and core styles (#13997)
* theme-builder wip

* Theme Builder updates
- new CSS variable support
- realtime color updating with alpha support (rgb generation)
- auto tint/shade/contrast generation
- auto step generation
- CSS variable highlighting (forward and backwards)
- Colourlovers Palette search (via local proxy)

* Theme Builder Updates
- Settings for auto generation
- updated to 10 steps per background/ext
- general cleanup
- added instructions
- re-worked shade/tint to mix black and white instead of lighten/darken
- scoped cssText into component
- apply theme to theme builder also to style internal buttons

SCSS Updates
- added 10 steps to reach platform
- updated SCSS to use same mix and color methods as theme builder

* material design color step fix

* readme files

fixes #13985 fixes #13986
2018-02-09 16:13:08 -05:00
..
2018-02-06 20:04:28 +01:00

ion-label

Properties

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "danger", "light", and "dark". For more information, see Theming your App.

fixed

boolean

If true, the label will sit alongside an input. Defaults to false.

floating

boolean

If true, the label will float above an input when the value is empty or the input is focused. Defaults to false.

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

stacked

boolean

If true, the label will be stacked above an input. Defaults to false.

Attributes

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "danger", "light", and "dark". For more information, see Theming your App.

fixed

boolean

If true, the label will sit alongside an input. Defaults to false.

floating

boolean

If true, the label will float above an input when the value is empty or the input is focused. Defaults to false.

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

stacked

boolean

If true, the label will be stacked above an input. Defaults to false.

Events

ionStyle

Emitted when the styles change.

Methods

getText()


Built with StencilJS