MCPcopy
hub / github.com/negomi/react-burger-menu / open

Function open

lib/menuFactory.js:194–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 }
193
194 function open() {
195 if (typeof props.onOpen === 'function') {
196 props.onOpen();
197 } else {
198 toggleMenu();
199 }
200 }
201
202 function close() {
203 if (typeof props.onClose === 'function') {

Callers

nothing calls this directly

Calls 1

toggleMenuFunction · 0.70

Tested by

no test coverage detected