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

Method triggerRetained

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

Source from the content-addressed store, hash-verified

18 }
19
20 triggerRetained() {
21 this.notifyListeners(
22 'testRetained',
23 {
24 value: 'Test Retained Value 1',
25 },
26 true,
27 );
28
29 this.notifyListeners(
30 'testRetained',
31 {
32 value: 'Test Retained Value 2',
33 },
34 true,
35 );
36 }
37
38 getListeners() {
39 return this.listeners;

Callers 1

web-plugin.spec.tsFile · 0.80

Calls 1

notifyListenersMethod · 0.45

Tested by

no test coverage detected