comet.element¶
The element module provides factory functions for creating CElement
objects.
Methods¶
- comet.element.create(recordID=None, templateID=0, formatString='')¶
Create a new
CElement
object which is used in determining which elements to build for repeating element placeholders.The element can be immediately initialized.
- Parameters
- Returns
The newly created element
- Return type
- Raises
TypeError – When parameter types are invalid
CometError – On internal error
- Available
- CScript