Handbook · Reference · Blockly · Relatives
Blockly: Relatives
Where in the UI. Scripts tab toolbox.
Read/write parent, child, sibling fields and properties.
| Block id | Read as | Purpose |
|---|---|---|
containd_read_parent_item_field | read parent item field | Calls host method getParentData. |
containd_read_parent_category_property | read parent category property | Calls host method getParentData. |
containd_read_child_item_field | read child item field | Calls host method getChildData. |
containd_read_child_category_property | read child category property | Calls host method getChildData. |
containd_read_sibling_item_field | read sibling item field | Calls host method getSiblingData. |
containd_read_sibling_category_property | read sibling category property | Calls host method getSiblingData. |
containd_write_sibling_item_field | write sibling item field | callHost(setItemData) on each sibling up to limit — requires write.relatives |
containd_write_sibling_category_property | write sibling category property | callHost(setItemData) on each sibling up to limit — requires write.relatives |
containd_parent_has_category | parent has category | True when the bound item parent has the category id in categories[] |
containd_parent_category_property_has_value | parent category property has value | True when the parent item resolves a value (stored or static default) for the property |