chore: refactor vue (#16587)

This commit is contained in:
Mike Hartington
2018-12-04 16:13:55 -05:00
committed by GitHub
parent 9c8c6507fc
commit 87b25960c4
43 changed files with 599 additions and 2165 deletions

View File

@ -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));