# Component linkage
You can control whether other components are displayed through the value of the component through the control configuration item
# Property description
value : Display components in
rulewhen the value of the component is congruent{ value:1, rule:[...] }handle
Function: Show components inrulewhenhandlemethod returnstrue{ handle:function(val, fApi){ return val === 1 }, rule:[...] }rule
Array: The component that controls the display{ value:1, rule:[ maker.number('满额包邮','postage_money',0) ] }append
string: Set the position of the rule appended inrulev2.5.0+{ value:1, append:'goods_name' }prepend
string: Set the pre-insertion position of the rule inrulev2.5.0+{ value:1, prepend:'goods_name' }child
boolean: Set whether theruleis inserted into thechildrenat the specified position, and is added to thechildrenof the current rule by defaultv2.5.0+{ value:1, prepend:'goods_name', child: true }
notice
handlepriority is greater thanvalue- All eligible 'controls' will take effect. Before v2.5, only the first one will take effect
# handleExample
Enter the reason for the bad review when the review is less than 3 stars
# apppend example v2.5.0+
Insert text 4 when input3 enters the value
# childExamplev2.5.0+
Append slot when typing append
# Combination examplev2.5.0+
Multiple control take effect simultaneously