html.dialog: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
|usage=
|usage=


<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
html.dialog(name, libURI)
html.dialog(name, libURI)
html.dialog(name, libURI, options)
html.dialog(name, libURI, options)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
{{param|name|The name of the dialog to create.}}
{{param|name|The name of the dialog to create.}}

Latest revision as of 16:20, 15 March 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

html.dialog() Function

Introduced in version 1.10.0
Creates a HTML dialog with the HTML source from the specified lib:// URI.

Usage

html.dialog(name, libURI)
html.dialog(name, libURI, options)

Parameters

  • name - The name of the dialog to create.
  • libURI - The lib:// URI to use as the HTML source.
  • options - The options to create the dialog with.


The options parameter is a string list with the options see [dialog():] for more details on the valid options.


See Also