Skip to content

Latest commit

History

History
38 lines (29 loc) · 1.47 KB

File metadata and controls

38 lines (29 loc) · 1.47 KB

Component

Template component definition

Properties

NameTypeDescriptionNotes
clsstrDefines component class/type[optional]
idstrComponent id[optional]
widthfloatWidth in units[optional]
heightfloatHeight in units[optional]
topfloatPosition from the page top in units[optional]
leftfloatPosition from the page left in units[optional]
zindexintDefines the rendering order on page. Components with smaller zindex are rendered before[optional]
valuestrComponent value[optional]
data_indexstrDefines data field for Table and Container components which are used to iterate over list of items[optional]

Example

frompdf_generator_api_client.models.componentimportComponent# TODO update the JSON string belowjson="{}"# create an instance of Component from a JSON stringcomponent_instance=Component.from_json(json)
# print the JSON string representation of the objectprint(Component.to_json())
# convert the object into a dictcomponent_dict=component_instance.to_dict()
# create an instance of Component from a dictcomponent_from_dict=Component.from_dict(component_dict)

[Back to Model list][Back to API list][Back to README]