Lines Matching refs:variable

4 …ed between an \@Prop decorated variable a variable of its parent component. This means that, an \@…
15 For the \@Prop decorated variable of a child component, the change synchronization to the parent co…
17 - An \@Prop variable is allowed to be modified locally, but the change does not propagate back to i…
19 - Whenever the data source changes, the \@Prop decorated variable gets updated, and any locally mad…
33 …he data source provided by the parent component to the \@Prop decorated variable. For details abou…
34variable types | Object, class, string, number, Boolean, enum, and array of these types.<br>**und…
36 | Initial value for the decorated variable | Local initialization is allowed. If this decorator is…
43variable can be initialized from a regular variable (whose change does not trigger UI refresh) or …
44 …n be used for initialization of a regular variable or \@State, \@Link, \@Prop, or \@Provide decora…
61 - When the decorated variable is of the Object, class, string, number, Boolean, or enum type, its v…
74 - When the decorated variable is of the Object or class type, the value changes of properties at th…
101 - When the decorated variable is of the array type, the value change of the array as well as the ad…
118variable in the parent component is used to initialize an \@Prop decorated variable in the child c…
119 …ver, any change to the @Prop decorated variable does not affect the value of its source @State dec…
120 … with \@Link or \@Prop, where the mechanisms for syncing the \@Prop decorated variable is the same.
121 - The source and \@Prop decorated variable must be of the same type. The \@Prop decorated variable
123 - When the decorated variable is of the Date type, the value change of the **Date** object can be o…
179 - When the decorated variable is **Map**, value changes of **Map** can be observed. In addition, yo…
181 - When the decorated variable is **Set**, value changes of **Set** can be observed. In addition, yo…
185variable, it is necessary to understand the parent component and the initial render and update pro…
188 …f the child component, and the parent component provides a source for the @Prop decorated variable.
189 2. The @Prop decorated variable is initialized.
192 …1. When the @Prop decorated variable is modified locally, the change does not propagate back to it…
193 …2. When the data source of the parent component is updated, the \@Prop decorated variable in the c…
197 …d variable relies on the re-rendering of the owning custom component. As such, when the applicatio…
206variable in the **CountDownComponent** child component is initialized from the \@State decorated *…
261 …ted, its @Prop decorated **count** variable is initialized from the \@State decorated **countDownS…
263 …, the **CountDownComponent** will be updated because of the change in the **count** variable value.
265 3. Because of the change in the **count** variable value, the **CountDownComponent** child componen…
267 …tDownComponent** child component is touched, the value of the **count** variable is modified, but …
275variable. In the following example, the \@State decorated array **arr** in the parent component **…
326 …corated variable is initialized with a copy of an array item. The **onclick** event handler of the…
363 …onizes the update of **this.arr[0]** to the instance's \@Prop decorated variable. The same happens…
525 …ed to decorate the **Book** class. Note that the \@Prop decorated state variable in the child comp…
549variable in the parent component a choice, rather than mandatory. Providing a data source in the p…
553variable **customCounter** has no local initialization, and therefore it requires a synchronizatio…
555 - The @Prop decorated variable **customCounter2** has local initialization. In this case, specifyin…
739 In this example, the **value** variable is of the **Map<number, string>** type. When the button is …
796 In this example, the **message** variable is of the **Set\<number\>** type. When the button is clic…
917 The \@Prop decorated state variable must be initialized. If not initialized locally, the variable m…
933 @Prop fruit: Commodity; // The state variable is not initialized locally.
955 … // The @Prop state variable is not initialized locally, nor initialized from the parent component.
976 @Prop fruit: Commodity; // The state variable is not initialized locally.
988 @Prop fruit: Commodity = new Commodity(1); // The state variable is initialized locally.
1022 In the **build** method, when the variable decorated by @Prop is of the object type and is called u…
1082 …his.score** to re-render the UI by assigning a value to the variable and then calling the variable.