mlreportgen.dom.CustomElement Class
Namespace: mlreportgen.dom
Custom element of document
Description
Use an object of the mlreportgen.dom.CustomElement class to extend the DOM API. You can create a custom HTML or Microsoft® Word element that provides functionality not yet included in the DOM API.
MATLAB®
Report Generator™ does not check the validity of your custom element.
To see what DOM objects you can append an mlreportgen.dom.CustomElement object to,
see Append mlreportgen.dom.CustomElement object to DOM class object.
This class is only compatible with these MATLAB Report Generator output types:
"docx""html""html-file""html-multipage"(since R2024a)
Construction
creates an
empty element.customElementObj = CustomElement
creates a custom element having the specified customElementObj = CustomElement(name)name.
Input Arguments
Output Arguments
Properties
Methods
Method | Purpose |
|---|---|
|
Input Arguments
Return Values
To see a list of the DOM class objects you can use as the
For more information, see the equivalent |
clone |
Note Do not append the same object to a document more than once. Use clone to create a copy when you want to reuse the same content elsewhere in a document. Input Arguments
Return Values
For more information, see the equivalent method for the
|
Examples
More About
Version History
Introduced in R2014b