Lines Matching refs:Once

1 # \@Once: Implementing Initialization Once
4 To initialize data only once and deny subsequent changes, you can use \@Once decorator together wit…
9 > The \@Once decorator is supported in custom components decorated by \@ComponentV2 since API versi…
17 The \@Once decorator accepts values passed in only during variable initialization. When the data so…
19 - \@Once must be used with \@Param. Using it independently or with other decorators is not allowed.
20 - \@Once does not affect the observation capability of \@Param. Only changes in data source are int…
21 - The sequence of the variables decorated by \@Once and \@Param does not affect the actual features.
22 - When \@Once and \@Param are used together, you can change the value of \@Param variables locally.
26 As an auxiliary decorator, the \@Once decorator does not have requirements on the decoration type a…
28 | \@Once Variable Decorator| Description |
36 - \@Once can be used only in custom components decorated by \@ComponentV2 and can be used only with…
41 @Param @Once onceParam: string = "onceParam"; // Correct usage.
42 @Once onceStr: string = "Once"; // Incorrect usage. @Once cannot be used independently.
43 …@Local @Once onceLocal: string = "onceLocal"; // Incorrect usage. @Once cannot be used with @Local.
47 @Once @Param onceParam: string = "onceParam"; // Incorrect usage.
51 - The order of \@Once and \@Param does not matter. Both \@Param \@Once and \@Once \@Param are corre…
56 @Param @Once param1: number;
57 @Once @Param param2: number;
63 ### Initializing Variables Only Once
65 \@Once is used in the scenario where the expected variables synchronize the data source once during…
70 @Param @Once onceParam: string = '';
96Once is used together with \@Param, the constraint that \@Param cannot be changed locally can be r…
108 @Param @Once onceParamNum: number = 0;
109 @Param @Once @Require onceParamInfo: Info;