replaceOutput

abstract fun replaceOutput(out: JsAny, cell: NotebookCell = definedExternally): PromiseLike<Void?>(source)

Replace the output of the cell that is executing or of another cell that is affected by this execution.

Parameters

out

Output that replaces the current output.

cell

Cell for which output is cleared. Defaults to the cell of this execution.