Class ConfigWithDefaults

Configurable object with defaults.

Hierarchy

  • ConfigWithDefaults

Constructors

Properties

Methods

Constructors

Properties

_classData: any

Get data from the Section with our classname, if available.

Notes

If we have no classname, get all of the data in the Section

_className: any
_defaults: any
_section: any

Methods

  • Get data from the config section or fall back to defaults.

    Parameters

    • key: string

    Returns JSONValue

  • Set a config value.

    Notes

    Uses the Jupyter Server API.

    The promise is fulfilled on a valid response and rejected otherwise.

    Sends the update to the server, and changes our local copy of the data immediately.

    Parameters

    Returns Promise<JSONValue>

Generated using TypeDoc