mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(ionList): add example controller
This commit is contained in:
8
js/angular/directive/list.js
vendored
8
js/angular/directive/list.js
vendored
@@ -63,6 +63,14 @@
|
||||
* </ion-list>
|
||||
* ```
|
||||
*
|
||||
*```javascript
|
||||
* app.controller('MyCtrl', function($scope, $ionicLoading) {
|
||||
* $scope.shouldShowDelete = false;
|
||||
* $scope.shouldShowReorder = false;
|
||||
* $scope.listCanSwipe = true
|
||||
* });
|
||||
*```
|
||||
*
|
||||
* @param {string=} delegate-handle The handle used to identify this list with
|
||||
* {@link ionic.service:$ionicListDelegate}.
|
||||
* @param type {string=} The type of list to use (list-inset or card)
|
||||
|
||||
Reference in New Issue
Block a user