MCPcopy
hub / github.com/vuejs/core / exposeFunction

Method exposeFunction

packages/vue/__tests__/e2e/e2eBrowserUtils.ts:115–115  ·  view source on GitHub ↗
(name: string, fn: (...args: any[]) => any)

Source from the content-addressed store, hash-verified

113 evaluate<R>(fn: () => R | Promise<R>): Promise<R>
114 evaluate<Arg, R>(fn: (arg: Arg) => R | Promise<R>, arg: Arg): Promise<R>
115 exposeFunction(name: string, fn: (...args: any[]) => any): Promise<void>
116 $eval<R>(selector: string, fn: (node: Element) => R | Promise<R>): Promise<R>
117 $$eval<R>(
118 selector: string,

Callers 2

Transition.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected