mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs: add description and example to list and item
This commit is contained in:
@@ -7,7 +7,17 @@ import {ListVirtualScroll} from './virtual';
|
||||
import * as util from 'ionic/util';
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* @name ionList
|
||||
* @classdesc
|
||||
* The List is a widely used interface element in almost any mobile app, and can include
|
||||
* content ranging from basic text all the way to buttons, toggles, icons, and thumbnails.
|
||||
*
|
||||
* Both the list, which contains items, and the list items themselves can be any HTML
|
||||
* element.
|
||||
*
|
||||
* Using the ionList and ionItem components make it easy to support various
|
||||
* interaction modes such as swipe to edit, drag to reorder, and removing items.
|
||||
*
|
||||
*/
|
||||
@IonicDirective({
|
||||
selector: 'ion-list',
|
||||
@@ -19,17 +29,7 @@ import * as util from 'ionic/util';
|
||||
})
|
||||
export class List extends Ion {
|
||||
/**
|
||||
* @name ionList
|
||||
* @classdesc
|
||||
* The List is a widely used interface element in almost any mobile app, and can include
|
||||
* content ranging from basic text all the way to buttons, toggles, icons, and thumbnails.
|
||||
*
|
||||
* Both the list, which contains items, and the list items themselves can be any HTML
|
||||
* element.
|
||||
*
|
||||
* Using the ionList and ionItem components make it easy to support various
|
||||
* interaction modes such as swipe to edit, drag to reorder, and removing items.
|
||||
*
|
||||
* TODO
|
||||
* @param {ElementRef} elementRef TODO
|
||||
* @param {IonicConfig} config TODO
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user