Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WrattlerNotebook

Represents a created Wrattler notebook. The interface provides access to the notebook contents. You can obtain the current contents and get notified when it changes.

Hierarchy

  • WrattlerNotebook

Index

Methods

addDocumentContentChanged

  • addDocumentContentChanged(handler: function): void
  • Registers a handler which will be triggered whenever the contents of a notebook changes.

    Parameters

    • handler: function
        • (newContent: string): void
        • Parameters

          • newContent: string

          Returns void

    Returns void

getDocumentContent

  • getDocumentContent(): string
  • Returns the current contents of a notebook as one Markdown string.

    Returns string

Generated using TypeDoc