MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / registerAnimation

Function registerAnimation

core/src/utils/menu-controller/index.ts:160–162  ·  view source on GitHub ↗
(name: string, animation: AnimationBuilder)

Source from the content-addressed store, hash-verified

158 };
159
160 const registerAnimation = (name: string, animation: AnimationBuilder) => {
161 menuAnimations.set(name, animation);
162 };
163
164 const _register = (menu: MenuI) => {
165 if (menus.indexOf(menu) < 0) {

Callers 1

createMenuControllerFunction · 0.85

Calls 1

setMethod · 0.80

Tested by

no test coverage detected