13,252
edits
(→dialog-close: How to close a specific dialog) |
|||
Line 53: | Line 53: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
fgcommand("dialog-close"); | fgcommand("dialog-close"); | ||
</syntaxhighlight> | |||
To close a specific dialog use for example: | |||
<syntaxhighlight lang="nasal"> | |||
fgcommand("dialog-close", props.Node.new({"dialog-name": "chat-full"})); | |||
</syntaxhighlight> | </syntaxhighlight> | ||