Home Reference Source
import EditorTab from './ui/components/tabs/tab_editor.js'
public class | source

EditorTab

Extends:

cables-shared-client~Events → EditorTab

tab panel for editing text and source code using the ace editor

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

_editor: *

private

_log: *

private
private

_tab: *

Method Summary

Public Methods
public

createEditor(id: *, val: *, cb: *)

public

focus()

public

format()

public

save()

public

setContent(content: *, silent: boolean)

Public Constructors

public constructor() source

Private Members

private _editor: * source

private _log: * source

private _options: * source

private _tab: * source

Public Methods

public createEditor(id: *, val: *, cb: *) source

Params:

NameTypeAttributeDescription
id *
val *
cb *

public focus() source

public format() source

public save() source

public setContent(content: *, silent: boolean) source

Params:

NameTypeAttributeDescription
content *
silent boolean
  • optional
  • default: false