mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
docs(demos): prettify segment demo and fix API docs on it
references driftyco/ionic-site#397
This commit is contained in:
@ -38,9 +38,8 @@ import {isDefined} from '../../util/util';
|
||||
* </form>
|
||||
* ```
|
||||
*
|
||||
* @property {string} [value] - the value of the segment-button. Required.
|
||||
* @property {Any} [click] - expression to evaluate when a segment button has been clicked
|
||||
* @property {Any} (select) - expression to evaluate when a segment selection has been changed
|
||||
* @property {string} [value] - the value of the segment button. Required.
|
||||
* @property {Any} (select) - expression to evaluate when a segment button has been clicked
|
||||
*
|
||||
* @demo /docs/v2/demos/segment/
|
||||
* @see {@link /docs/v2/components#segment Segment Component Docs}
|
||||
@ -136,7 +135,7 @@ export class SegmentButton {
|
||||
* </form>
|
||||
* ```
|
||||
*
|
||||
* @property {Any} [change] - expression to evaluate when a segment button has been changed
|
||||
* @property {Any} (change) - expression to evaluate when a segment button has been changed
|
||||
*
|
||||
* @demo /docs/v2/demos/segment/
|
||||
* @see {@link /docs/v2/components#segment Segment Component Docs}
|
||||
|
Reference in New Issue
Block a user