(props: PythonFrameProps)
| 43 | private resizeObserver: ResizeObserver |
| 44 | |
| 45 | constructor(props: PythonFrameProps) { |
| 46 | super(props) |
| 47 | this.frameRef = React.createRef() |
| 48 | this.termRef = React.createRef() |
| 49 | this.resolveActiveInput = null |
| 50 | this.wasmTty = null |
| 51 | this.pasteLinesBuffer = [] |
| 52 | this.resizeObserver = new ResizeObserver((entries) => { |
| 53 | this.handleResize() |
| 54 | }) |
| 55 | |
| 56 | const runType = this.props.runtimeContextManager.runSettings.runType |
| 57 | this.state = { |
| 58 | frameSrc: this.getFrameSrc(runType), |
| 59 | responseData: null, |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | render() { |
| 64 | const { runtimeContextManager } = this.props |
nothing calls this directly
no outgoing calls
no test coverage detected