Lines Matching refs:custom
4 …custom components – those defined by developers. Defining the entire application UI with just buil…
7 The custom component has the following features:
18 The following example shows the basic usage of a custom component.
26 // The HelloComponent custom component combines the <Row> and <Text> built-in components.
39 > To reference the custom component in another file, use the keyword **export** to export the compo…
41 … in the **build()** function of other custom components. In this way, **HelloComponent** is reused…
62 - [Basic Structure of a Custom Component](#basic-structure-of-a-custom-component)
66 - [Rules for Custom Component Parameters](#rules-for-custom-component-parameters)
70 - [Universal Style of a Custom Component](#universal-style-of-a-custom-component)
75 - struct: The definition of a custom component must start with the \@Component struct followed by t…
78 …> The name or its class or function name of a custom component must be different from that of any …
94 Describes the [custom component freezing](arkts-custom-components-freeze.md) option.
106 …nction is used to define the declarative UI description of a custom component. Every custom compon…
116 - \@Entry: A custom component decorated with \@Entry is used as the default entry component of the …
171 In addition to the mandatory **build()** function, a custom component may implement other member fu…
177 A custom component can also implement member variables with the following restrictions:
187 …arnt from preceding examples, a custom component can be created from a **build** method. During th…
257 - For an \@Entry decorated custom component, exactly one root component is required under the **bui…
258 …For an \@Component decorated custom component, exactly one root component is required under the **…
410 …any state variable in the **build()** or \@Builder decorated method of a custom component. Otherwi…
439 The universal style of a custom component is configured by the chain call.
466 > When ArkUI sets styles for custom components, an invisible container component is set for **MyCom…