Handbook · Reference · Blockly · Relatives

Blockly: Relatives

Where in the UI. Scripts tab toolbox.

Read/write parent, child, sibling fields and properties.

Block idRead asPurpose
containd_read_parent_item_fieldread parent item fieldCalls host method getParentData.
containd_read_parent_category_propertyread parent category propertyCalls host method getParentData.
containd_read_child_item_fieldread child item fieldCalls host method getChildData.
containd_read_child_category_propertyread child category propertyCalls host method getChildData.
containd_read_sibling_item_fieldread sibling item fieldCalls host method getSiblingData.
containd_read_sibling_category_propertyread sibling category propertyCalls host method getSiblingData.
containd_write_sibling_item_fieldwrite sibling item fieldcallHost(setItemData) on each sibling up to limit — requires write.relatives
containd_write_sibling_category_propertywrite sibling category propertycallHost(setItemData) on each sibling up to limit — requires write.relatives
containd_parent_has_categoryparent has categoryTrue when the bound item parent has the category id in categories[]
containd_parent_category_property_has_valueparent category property has valueTrue when the parent item resolves a value (stored or static default) for the property