MCPcopy Create free account
hub / github.com/facebook/Rapid / visible

Method visible

modules/core/Map3dSystem.js:187–190  ·  view source on GitHub ↗

* visible * For now, just store this state in the url hash * set/get whether the 3d viewer is visible

()

Source from the content-addressed store, hash-verified

185 * set/get whether the 3d viewer is visible
186 */
187 get visible() {
188 const urlhash = this.context.systems.urlhash;
189 return !!urlhash.getParam('map3d');
190 }
191
192 set visible(val) {
193 const context = this.context;

Callers

nothing calls this directly

Calls 6

startAsyncMethod · 0.95
getParamMethod · 0.45
setParamMethod · 0.45
styleMethod · 0.45
containerMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected