mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(slideBox): add comment about attachSlide
This commit is contained in:
1
js/angular/controller/slideController.js
vendored
1
js/angular/controller/slideController.js
vendored
@@ -7,6 +7,7 @@ function(scope, element, $q) {
|
||||
var self = this;
|
||||
|
||||
scope.$on('$destroy', function() {
|
||||
// Re-attach the element so it can be properly removed
|
||||
attachSlide();
|
||||
});
|
||||
element.on(ionic.CSS.TRANSITIONEND, onTransitionEnd);
|
||||
|
||||
Reference in New Issue
Block a user