MCPcopy Create free account
hub / github.com/boost-ext/sml / toggleOverview

Function toggleOverview

doc/cppnow-2017/js/reveal.js:1930–1939  ·  view source on GitHub ↗

* Toggles the slide overview mode on and off. * * @param {Boolean} override Optional flag which overrides the * toggle logic and forcibly sets the desired state. True means * overview is open, false means it's closed.

( override )

Source from the content-addressed store, hash-verified

1928 * overview is open, false means it's closed.
1929 */
1930 function toggleOverview( override ) {
1931
1932 if( typeof override === 'boolean' ) {
1933 override ? activateOverview() : deactivateOverview();
1934 }
1935 else {
1936 isOverview() ? deactivateOverview() : activateOverview();
1937 }
1938
1939 }
1940
1941 /**
1942 * Checks if the overview is currently active.

Callers 2

setStateFunction · 0.70
onDocumentKeyDownFunction · 0.70

Calls 3

activateOverviewFunction · 0.70
deactivateOverviewFunction · 0.70
isOverviewFunction · 0.70

Tested by

no test coverage detected