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

Function run

  • run(
        notebook: Notebook,
        sessionContext?: ISessionContext,
        sessionDialogs?: ISessionContextDialogs,
        translator?: ITranslator,
    ): Promise<boolean>
  • Run the selected cell(s).

    Parameters

    • notebook: Notebook

      The target notebook widget.

    • OptionalsessionContext: ISessionContext

      The client session object.

    • OptionalsessionDialogs: ISessionContextDialogs

      The session dialogs.

    • Optionaltranslator: ITranslator

      The application translator.

      Notes

      The last selected cell will be activated, but not scrolled into view. The existing selection will be cleared. 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:579

Settings

Member Visibility

On This Page

Notes
GitHubJupyter
@jupyterlab
  • Loading...

Generated using TypeDoc