WLJS LogoWLJS Notebook

RemoteCellObj

Wolfram Kernel

a remote representation of a notebook cell for evaluation Kernel

RemoteCellObj[uid_String] _RemoteCellObj

Methods

NotebookDelete

NotebookWrite

NotebookRead

NotebookReadAsync

EventHandler

You can listen a cell's events from the evaluation Kernel

With[{cell = EvaluationCell[]},
	EventHandler[cell, {any_ :> (Print[any, ": ", #]&)}];
]

listen all events from the input cell

Possible events

Normal cells
  • "Destroy" when a cell was removed
Expression Windows
  • "Mounted" fired once cell is mounted and is ready, returns WindowObj;

"Mounted" can be fired multiple times in the case if a window was refreshed (or reconnected)

  • "Closed" fired when user closes window (or connection breaks), returns WindowObj

On this page