Package: mlreportgen.dom
Superclasses:
Group of document objects
Group of document objects that you can append multiple times in a document without you having to clone the group. When you append a group to a document, the DOM interface clones the group.
Tip
You can use mlreportgen.dom.Group
and mlreportgen.dom.Container
objects
to produce collections of document elements.
Use a group object to append the same content in multiple
places in a document without having to clone the group. Group objects
do not have a Style
property for using the same
applicable styles to all document elements in the group.
Use a container object to create a div
, section
,
or article
container element and to use the same
applicable styles to all document elements in the container. To append
the same container object contents in multiple places in a document,
use the mlreportgen.dom.Container.clone
method.
creates
an empty group.groupObj
= Group()
Method | Purpose |
---|---|
Append a DOM object to the group |