Lines Matching refs:testNum
24 The @Prop testNum: ClassA; // @Prop makes a deep copy.
27 Text(`PropChild testNum ${this.testNum.c}`)
34 @State testNum: ClassA[] = [new ClassA(1)];
38 Text(`Parent testNum ${this.testNum[0].c}`)
40 this.testNum[0].c += 1;
43 …// PropChild does not change the value of @Prop testNum: ClassA. Therefore, @ObjectLink is a bette…
44 PropChild({ testNum: this.testNum[0] })
50 In the preceding example, the **PropChild** component does not change the value of **\@Prop testNum…
66 @ObjectLink testNum: ClassA; // @ObjectLink does not make a deep copy.
69 Text(`PropChild testNum ${this.testNum.c}`)
76 @State testNum: ClassA[] = [new ClassA(1)];
80 Text(`Parent testNum ${this.testNum[0].c}`)
82 this.testNum[0].c += 1;
86 PropChild({ testNum: this.testNum[0] })