Lines Matching refs:variable

4 An \@Link decorated variable creates two-way synchronization with a variable of its parent componen…
15 An \@Link decorated variable in a child component shares the same value with a variable in its pare…
23 …from an \@State, \@StorageLink, or \@Link decorated variable in the parent component to this varia…
24variable types | Object, class, string, number, Boolean, enum, and array of thes…
25 | Initial value for the decorated variable | Forbidden. …
32variable in the parent component. An @Link decorated variable can be initialized from an [\@State]…
33 …rted; can be used to initialize a regular variable or \@State, \@Link, \@Prop, or \@Provide decora…
46 - When the decorated variable is of the Boolean, string, or number type, its value change can be ob…
48 - When the decorated variable is of the class or Object type, its value change and value changes of…
50 - When the decorated variable is of the array type, the addition, deletion, and updates of array it…
52 - When the decorated variable is of the Date type, the overall value assignment of the Date object …
108 - When the decorated variable is **Map**, value changes of **Map** can be observed. In addition, yo…
110 - When the decorated variable is **Set**, value changes of **Set** can be observed. In addition, yo…
114 An \@Link decorated variable shares the lifecycle of its owning component.
116variable, it is necessary to consider the parent component and the initial render and update proce…
119variable of the parent component must be specified to initialize the child component's \@Link deco…
120variable wrapper class of the parent component is passed to the child component through the build …
122 …e of the \@Link source: When the state variable in the parent component is updated, the \@Link dec…
123 … **this** pointer with the parent component. When the \@State decorated variable in the parent com…
124 …l system components (**elementId**) that depend on the \@Link decorated variable in the child comp…
126 … the \@Link decorated variable in the child component is updated, the following steps are performe…
127 …1. After the \@Link decorated variable is updated, the **set** method of the \@State wrapper class…
128 …n this way, the \@Link decorated variable in the child component is synchronized back to the \@Sta…
145 3. The type of the variable decorated by \@Link must be the same as the data source type. Otherwise…
291 …ShufflingContainer** is clicked, the parent component (@State decorated variable) changes, and the…
335 …// The change of the decorated variable of a simple type in the child component can be synchronize…
437 …is the same: number[]. It is not allowed to define the \@Link decorated variable in the child comp…
445 In this example, the **value** variable is of the Map<number, string> type. When the button is clic…
502 In this example, the **message** variable is of the Set\<number\> type. When the button is clicked,…
554variable **sourceNumber** is modified in \@Watch of \@Link to implement variable synchronization b…
653 …rate a state variable in a child component, ensure that the variable type is the same as the sourc…
687 …// The type of the @Link decorated variable must be the same as that of the @State decorated data …
694 …})** are incorrect. The data source of \@Link must be a decorated state variable. The \@Link decor…
731 …// The type of the @Link decorated variable must be the same as that of the @State decorated data …
740 In the **build** method, when the variable decorated by @Link is of the object type and is called u…
800 …his.score** to re-render the UI by assigning a value to the variable and then calling the variable.
864variable is defined after the **build** function to initialize the \@Link decorated variable, the …
881 // Define the @State variable after the build function.
897 The correct format is to define the \@State variable before the build function.