MCPcopy Create free account
hub / github.com/boost-ext/di / onConnected

Function onConnected

doc/cppnow-2016/plugin/notes/notes.js:82–96  ·  view source on GitHub ↗

* Called once we have established a connection to the notes * window.

()

Source from the content-addressed store, hash-verified

80 * window.
81 */
82 function onConnected() {
83
84 // Monitor events that trigger a change in state
85 Reveal.addEventListener( 'slidechanged', post );
86 Reveal.addEventListener( 'fragmentshown', post );
87 Reveal.addEventListener( 'fragmenthidden', post );
88 Reveal.addEventListener( 'overviewhidden', post );
89 Reveal.addEventListener( 'overviewshown', post );
90 Reveal.addEventListener( 'paused', post );
91 Reveal.addEventListener( 'resumed', post );
92
93 // Post the initial state
94 post();
95
96 }
97
98 connect();
99 }

Callers 1

connectFunction · 0.70

Calls 1

postFunction · 0.70

Tested by

no test coverage detected