Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PersistentData

Index

Constructors

Properties

Methods

Constructors

constructor

  • new PersistentData(__namedParameters?: { content?: string; lineNumbers?: boolean; mode?: Mode; theme?: Theme }): PersistentData
  • Parameters

    • __namedParameters: { content?: string; lineNumbers?: boolean; mode?: Mode; theme?: Theme } = ...
      • Optional content?: string
      • Optional lineNumbers?: boolean
      • Optional mode?: Mode
      • Optional theme?: Theme

    Returns PersistentData

Properties

Readonly content

content: string

The text content to display in the editor

Readonly lineNumbers

lineNumbers: boolean

This property specify whether or not to display line numbers in the editor.

Readonly mode

mode: Mode

The mode attribute specify the rules used by the editor for syntax highlighting.

Readonly theme

theme: Theme

The theme used by the editor, you can check here; only a subset of the all CodeMirror's themes are available.

Methods

toCodeMirror

Generated using TypeDoc