MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Uživatelská příručka Strana 561

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 986
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 560
mlreportgen.dom.CustomText class
12-67
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
Parent — Parent of document element
DOM object
This read-only property lists the parent of this document element.
Tag — Tag for document element
string
Tag for document element, specified as a string.
A session-unique ID is generated as part of document element creation. The generated
tag has the form CLASS:ID, where CLASS is the class of the element and ID is the value
of the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Value — Text to add
string
Text to add to a custom element, specified as a string.
Examples
Create Custom Text for a Script
import mlreportgen.dom.*;
d = Document('test');
script = CustomElement('script');
append(script,CustomText('document.write("Hello World!")'));
append(d,script);
close(d);
rptview('test','html');
See Also
mlreportgen.dom.CustomAttribute | mlreportgen.dom.CustomElement
Zobrazit stránku 560
1 2 ... 556 557 558 559 560 561 562 563 564 565 566 ... 985 986

Komentáře k této Příručce

Žádné komentáře