Lines Matching refs:private
4 In ArkTS, use of the access modifiers – **private**, **public**, and **protected** – for custom com…
14 …ted by \@State, \@Prop, \@Provide, or \@BuilderParam, when declared as **private**, value assignme…
18 - For variables decorated by \@Link or \@ObjectLink, **private** access is not allowed.
22 …vide, or \@BuilderParam in custom components cannot be decorated by both \@Require and **private**.
27 1. If a member variable is decorated by both the **private** access modifier and the \@State, \@Pro…
54 @State private state_value: string = "Hello";
55 @Prop private prop_value: string = "Hello";
56 @Provide private provide_value: string = "Hello";
57 @BuilderParam private builder_value: () => void = this.buildTest;
58 private regular_value: string = "Hello";
78 Property 'state_value' is private and can not be initialized through the component constructor.
79 Property 'prop_value' is private and can not be initialized through the component constructor.
80 Property 'provide_value' is private and can not be initialized through the component constructor.
81 Property 'builder_value' is private and can not be initialized through the component constructor.
82 Property 'regular_value' is private and can not be initialized through the component constructor.
127 3. If a member variable is decorated by both the **private** access modifier and the \@Link/ or \@O…
149 @Link private link_value: string;
150 @ObjectLink private objectLink_value: ComponentObj;
164 Property 'link_value' can not be decorated with both @Link and private.
165 Property 'objectLink_value' can not be decorated with both @ObjectLink and private.
201 5. If a member variable is decorated by both the **private** access modifier and the \@Require, \@S…
216 @Require @Prop private prop_value: string = "Hello";
230 Property 'prop_value' can not be decorated with both @Require and private.
231 Property 'prop_value' is private and can not be initialized through the component constructor.