mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
feat(menu-controller): expose registerAnimation
This commit is contained in:
@ -256,7 +256,8 @@ export class MenuController {
|
|||||||
return this.animationCtrl.create(animationBuilder, null, menuCmp);
|
return this.animationCtrl.create(animationBuilder, null, menuCmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
private registerAnimation(name: string, animation: AnimationBuilder) {
|
@Method()
|
||||||
|
registerAnimation(name: string, animation: AnimationBuilder) {
|
||||||
this.menuAnimations.set(name, animation);
|
this.menuAnimations.set(name, animation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user