MCPcopy Index your code
hub / github.com/microsoft/SandDance / focus

Method focus

docs/app/js/sanddance-app.js:364–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 this.dropdownRef = (0, _base.base).react.createRef();
363 }
364 focus() {
365 if (!this.focused) {
366 this.focused = true;
367 this.dropdownRef.current.focus(true);
368 }
369 }
370 componentDidMount() {
371 const size = (0, _sanddanceReact.SandDance).VegaDeckGl.util.outerSize(this.div);
372 const over = {

Callers 15

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
focusActiveElementFunction · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
calculatingMethod · 0.45
ColorFunction · 0.45
DataBrowserFunction · 0.45
HistoryFunction · 0.45
BaseButton1Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected