Class: ConsolePane
editor/panes/consolePane.ConsolePane
Hierarchy
โณ
ConsolePane
Constructors
constructor
โข new ConsolePane(pos?
, width?
, height?
)
Creates a ConsolePane.
Parameters
Name | Type | Description |
---|---|---|
pos? | vec2 | The top left corner of the pane in the editor grid |
width? | number | The width of the pane in columns |
height? | number | The height of the pane in rows |
Overrides
Defined in
src/editor/panes/consolePane.ts:25
Properties
domId
โข Readonly
domId: string
Inherited from
Defined in
src/editor/panes/pane.ts:13
element
โข Readonly
element: HTMLDivElement
Inherited from
Defined in
src/ui/element.ts:9
height
โข height: number
Inherited from
Defined in
src/editor/panes/pane.ts:17
id
โข Readonly
id: string
Inherited from
Defined in
src/editor/panes/pane.ts:12
keys
โข Readonly
keys: KeyboardHandler
Inherited from
Defined in
src/ui/element.ts:11
messages
โข Private
messages: BlazeList
<BlazeElement
<HTMLElement
>>
Defined in
src/editor/panes/consolePane.ts:16
mouse
โข Readonly
mouse: MouseHandler
Inherited from
Defined in
src/ui/element.ts:10
pos
โข pos: vec2
Inherited from
Defined in
src/editor/panes/pane.ts:15
titlebar
โข Protected
titlebar: BlazeTitleBar
Inherited from
Defined in
src/editor/panes/pane.ts:10
touch
โข Readonly
touch: TouchHandler
Inherited from
Defined in
src/ui/element.ts:12
width
โข width: number
Inherited from
Defined in
src/editor/panes/pane.ts:16
Methods
addMessage
โธ Private
addMessage(type
, str
): void
Parameters
Name | Type |
---|---|
type | LogType |
str | string |
Returns
void
Defined in
src/editor/panes/consolePane.ts:42
addTitlebar
โธ addTitlebar(): void
Create and append a BlazeTitleBar to the pane.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:60
removeTitlebar
โธ removeTitlebar(): void
Remove the pane's titlebar if it exists.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:70
update
โธ update(): void
Update console.
Returns
void
Overrides
Defined in
src/editor/panes/consolePane.ts:40