What is a Template Object?

Template Objects are inserted in the DOM. Template Objects have a tag.

 

Attributes:

  • Tag:
    • HTML Tag like style, div, …
    • Special Tags: none, break
    • “None” objects, are only for organisation, this does not generate any object in the DOM.
    • “Break” Tags are special, which get replaced by the “<pagebreak></pagebreak>” tag, which is used in mpdf to get an page break.
  • Description
  • Query + Repeated field
  • Payload
  • Inner HTML
  • Sort Order
  •  

Template Object could have Subobjects

 

Template Object could have Attributes.

Example: onlick, style, ….