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

Method constructor

docs/app/js/sanddance-app.js:11908–11918  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

11906function _Chart(_props) {
11907 class __Chart extends (0, _base.base).react.Component {
11908 constructor(props){
11909 super(props);
11910 this.state = {
11911 showTooltipDialog: false
11912 };
11913 this.choiceRef = (0, _base.base).react.createRef();
11914 props.explorer.dialogFocusHandler.focus = ()=>{
11915 var _a;
11916 return (_a = this.choiceRef.current) === null || _a === void 0 ? void 0 : _a.focus();
11917 };
11918 }
11919 render() {
11920 const { props } = this;
11921 const { explorer , specCapabilities } = props;

Callers

nothing calls this directly

Calls 1

focusMethod · 0.45

Tested by

no test coverage detected