docs(theming): make sure color and mode are documented properly

This commit is contained in:
Brandy Carney
2017-11-02 16:38:17 -04:00
parent f0c1b0190e
commit 73137e002d
28 changed files with 409 additions and 71 deletions

View File

@ -81,6 +81,20 @@ export class Segment {
*/
@Event() ionChange: EventEmitter;
/**
* @input {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](/docs/theming/theming-your-app).
*/
@Prop() color: string;
/**
* @input {string} The mode determines which platform styles to use.
* Possible values are: `"ios"`, `"md"`, or `"wp"`.
* For more information, see [Platform Styles](/docs/theming/platform-specific-styles).
*/
@Prop() mode: 'ios' | 'md' | 'wp';
/*
* @input {boolean} If true, the user cannot interact with the segment. Default false.
*/