Lines Matching refs:variable

4 …our application needs watch for value changes of a state variable, you can decorate the variable w…
15 An application can request to be notified whenever the value of the \@Watch decorated variable chan…
25 | Called when| The variable changes and is assigned a value. For details, see [Time for \@Watch to …
36 1. \@Watch callback is triggered when a change of a state variable (including the change of a key i…
38 2. The \@Watch callback is executed synchronously after the variable change in the custom component.
40 3. If the \@Watch callback mutates other watched variables, their variable @Watch callbacks in the …
42variable initialization, because initialization is not considered as variable mutation. A \@Watch …
47 …ectly or indirectly mutating the same variable. To avoid loops, do not mutate the \@Watch decorate…
143variable **count**, \@Prop in the child component **TotalView** is updated, and its **\@Watch('onC…
150 This example illustrates how to watch an \@Link decorated variable in a child component.
217 2. The value of the \@Link decorated variable **BasketViewer shopBasket** changes.
221 … and build the new item. Because the @State decorated **totalPurchase** variable changes, the **Te…
225variable changes, this example uses the \@Link and \@ObjectLink decorators in the child component …
299 …of \@Link and \@ObjectLink in the child component is different from the variable update sequence i…
301 … expectation. The \@Watch callback is invoked based on the actual state variable change time. Sim…
344 …work calls the \@Watch function **countUpdated** and the value of state variable **apple** is chan…
350 …work calls the \@Watch function **countUpdated** and the value of state variable **cabbage** is ch…