MCPcopy
hub / github.com/ionic-team/capacitor / trigger

Method trigger

core/src/tests/web-plugin.spec.ts:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13class MockPlugin extends WebPlugin {
14 trigger() {
15 this.notifyListeners('test', {
16 value: 'Capacitors on top of toast!',
17 });
18 }
19
20 triggerRetained() {
21 this.notifyListeners(

Callers 1

web-plugin.spec.tsFile · 0.80

Calls 1

notifyListenersMethod · 0.45

Tested by

no test coverage detected