thebe API#

The thebe JavaScript API

Note

This document is a work in progress. We need to add jsdoc-style docstrings to our exported functions.

thebelab.bootstrap(options)#

Bootstrap the library based on the configuration given.

If bootstrap === true in the configuration and the library is loaded statically then this function will be called automatically on the document load event.

Arguments
  • options (Object) – Object containing thebe options. Same structure as x-thebe-options.

Returns

Promise – Promise for connected Kernel object