enhance(slideBox): re-add update() method

This commit is contained in:
Andrew
2014-10-09 09:50:30 -06:00
parent 01c829c351
commit d9cc7894d5
6 changed files with 41 additions and 36 deletions

View File

@@ -88,7 +88,16 @@ IonicModule
* @name $ionicSlideBoxDelegate#count
* @returns `number` The number of slides there are currently.
*/
'count'
'count',
/**
* @ngdoc method
* @name $ionicSlideBoxDelegate#update
* @description Causes the slidebox to re-scan all of the child slide
* elements and reorganize itself again.
* You only need to call update if you are moving slides around in the DOM
* (for example, ng-repeat moving an element from the middle to the end).
*/
'update',
/**
* @ngdoc method
* @name $ionicSlideBoxDelegate#$getByHandle