document <nasal> block
This commit is contained in:
parent
c7d736351f
commit
562cb37114
1 changed files with 10 additions and 0 deletions
|
@ -183,6 +183,16 @@ file, since the root element is named PropertyList.
|
||||||
|
|
||||||
draggable - false if the dialog is not draggable. The default is true.
|
draggable - false if the dialog is not draggable. The default is true.
|
||||||
|
|
||||||
|
nasal - Nasal definition block
|
||||||
|
open - Nasal script to be executed on dialog open
|
||||||
|
close - Nasal script to be executed on dialog close
|
||||||
|
|
||||||
|
All Nasal code runs in a dialog namespace. Nasal bindings can
|
||||||
|
directly access variables and functions defined in an <open> block.
|
||||||
|
settimer() and setlistener() functions have to be removed manually
|
||||||
|
in the <close> block if they shouldn't remain active.
|
||||||
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue