Panel

Bluespess. Panel

(abstract) new Panel(client, panel_props)

Source:
Parameters:
Name Type Description
client Client
panel_props Object
Properties
Name Type Attributes Default Description
width number <optional>
400
height number <optional>
400
title string <optional>
""
can_close boolean <optional>
true

Members

client :Client

Source:
Type:

id :string

Source:
Used for networking
Type:
  • string

is_open :boolean

Source:
See:
Type:
  • boolean

Methods

close()

Source:
Closes the panel

open()

Source:
Can only be called once. Opens the panel.

send_message(message)

Source:
Sends a network message to the client about this panel
Parameters:
Name Type Description
message Object

Events

message

Source:
Type:
  • Object