SCEditor

maximize()

maximize() Since: 1.4.1

Gets if the editor is maximised or not

Syntax

var isMaximised = instance.maximize();

Return

Type: boolean

maximize(maximize) Since: 1.4.1

Sets if the editor is maximised or not

Syntax

instance.maximize(maximize);

Parameters

maximize
Type boolean

If to maximize the editor or not

Return

Type: sceditor

Example

Maximise the editor:

var textarea = ...;
sceditor.instance(textarea).maximize(true);

Set the editor back to normal:

var textarea = ...;
sceditor.instance(textarea).maximize(false);