mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
chore: refactor vue (#16587)
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
import { HTMLStencilElement } from './interfaces';
|
||||
|
||||
// A proxy method that initializes the controller and calls requested method
|
||||
export function proxyMethod(tag: string, method: string, ...opts: any[]): Promise<any> {
|
||||
return initController(tag).then((ctrl: any) => ctrl[method].apply(ctrl, opts));
|
||||
|
Reference in New Issue
Block a user