GitHubJupyter
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • notebook
  • NotebookActions
  • runCells

Function runCells

  • runCells(
        notebook: Notebook,
        cells: readonly Cell<ICellModel>[],
        sessionContext?: ISessionContext,
        sessionDialogs?: ISessionContextDialogs,
        translator?: ITranslator,
    ): Promise<boolean>
  • Run specified cells.

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • cells: readonly Cell<ICellModel>[]

      The cells to run.

    • OptionalsessionContext: ISessionContext

      The client session object.

    • OptionalsessionDialogs: ISessionContextDialogs

      The session dialogs.

    • Optionaltranslator: ITranslator

      The application translator.

      Notes

      The existing selection will be preserved. The mode will be changed to command. An execution error will prevent the remaining code cells from executing. All markdown cells will be rendered.

    Returns Promise<boolean>

    • Defined in packages/notebook/src/actions.tsx:616

Settings

Member Visibility

On This Page

Notes
GitHubJupyter
@jupyterlab
  • Loading...

Generated using TypeDoc