Parameters
className - The current class name.
methodName - The current method name.
valueName - The debug value name.
objValue - A text or object value.
force - Force the text to show.
textDialogID - The text dialog element ID name.
textAreaID - The text area element ID name.
Syntax
| JavaScript |
|
static ShowText(className, methodName, valueName, objValue,
textDialogID, force)
|
Show text in textArea element.
Example
| JavaScript |
<body>
<!-- The dialog for debug or other display text. -->
<dialog id="textDialog"
style="border: none; padding: 0px">
<textarea id="textArea" rows="25" cols="80" autocorrect="off"
autocapitalize="off" spellcheck="false" readonly
style="border: none; padding: 10px">
</textarea>
</dialog>
</body>
// Show text in textArea element.
ShowText()
{
const className = "ClassName";
const methodName = "MethodName()";
const valueName = "text";
const value = "This is the value.";
const force = false;
const textDialogID = "textDialog";
const textAreaID = "textArea";
LJC.ShowText(className, methodName, valueName, value, force, textDialogID
, textAreaID);
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.