Module

RMP_Section

Methods

# inner close()

Closes the section.

# inner getType() → {string}

Returns the type of the widget (RMP_Section).
string

# inner isOpen() → {string}

Returns true if the section is opened, otherwise false.
string

# inner open()

Opens the section.

# inner setOnCloseScript(callBk)

Sets a callback function to handle the "on section closed" script field of a section widget.
Parameters:
Name Type Description
callBk module:RMP_Section~callbackFunction Callback that handles the "on section closed" script.

# inner setOnOpenScript(callBk)

Sets a callback function to handle the "on section opened" script field of a section widget.
Parameters:
Name Type Description
callBk module:RMP_Section~callbackFunction Callback that handles the "on section opened" script.

Type Definitions

# callbackFunction()

Callback function to execute the onOpen/onClose script field of a section widget.