Show raw api
{
"functions": [
{
"name": "PressExit",
"desc": "Simulates a click on the Exit Button which causes the window to close.\nDifferent from close as if a function is set to `ExitPressed` and the function\nreturns true then it will prevent the closing. Rejects the promise if the window\nis not closed.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Promise\n"
}
],
"function_type": "method",
"source": {
"line": 444,
"path": "src/fusiononrails/src/FusionOnRails/Classes/GenericUIComponents/Window/init.lua"
}
},
{
"name": "Close",
"desc": "Closes the window and destroys it.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Promise\n"
}
],
"function_type": "method",
"source": {
"line": 456,
"path": "src/fusiononrails/src/FusionOnRails/Classes/GenericUIComponents/Window/init.lua"
}
}
],
"properties": [],
"types": [],
"name": "Window",
"desc": "This Component is a generic window that can be used for any purpose.\n\nSet the `Content` prop to the content you want to display in the window.\n\n",
"source": {
"line": 13,
"path": "src/fusiononrails/src/FusionOnRails/Classes/GenericUIComponents/Window/init.lua"
}
}