Wrap HTMX document file for viewing
wraps an HTMX document file and returns it as an HTMX doc object. The HTMX doc object is not
visible on construction. To make it visible, use the
docobj = mlreportgen.utils.HTMXDoc(
filename— Path to HTMX file
Path to HTMX file, specified as a string or character vector.
docobj— HTMX document object
HTMX document object, returned as a wrapped document object file.
FileName— Full path to HTMX file
Full path to HTMX file, specified as a string or character vector.
Show HTMX file
Hide HTMX file
Test whether HTMX file is visible
This example wraps the existing
MyHTMXDoc.html file into an HTMXDoc
docobj = mlreportgen.utils.HTMXDoc("MyHTMXDoc.htmx"); show(docobj);