mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
enhance(slideBox): re-add update() method
This commit is contained in:
11
js/angular/service/slideBoxDelegate.js
vendored
11
js/angular/service/slideBoxDelegate.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user