anyuianyui
Home
Getting Started
Documentation
Download
  • English
  • 简体中文
Home
Getting Started
Documentation
Download
  • English
  • 简体中文
  • Setup

    • Installation
  • Core Concepts

    • Introduction
    • Design
    • Hide and Lock
    • Resource Management
  • Higher Order Component

    • State Button
    • Label Slider
    • Value Slider
    • Check Group & Radio Group
    • StatusBar
    • NavigateBar
    • Drawer
  • Advanced Features

    • Use External Image File as Source
    • GIF Animated Image
    • Template Component
    • Global Components
    • Screen Management
    • Communication Commands and Events
    • Lottie Animation
  • Development

    • Build Mode
    • Build Toolchain Configuration
    • Code Transplant
  • Technical Support

    • FAQ

Template components are user-defined component templates. Users can persist modified properties and styles of components as reusable template components.

Template components can encapsulate subcomponents, allowing entire container hierarchies with their child components to be saved as a single template.

Save Template Component

To create a template component, select the desired component, right-click, and choose "Save as Template Component" from the context menu.

Save as template component

Template components can be utilized in the same manner as standard components.

Modify Template Component

For existing template components, users can modify the name or delete the template through the template component settings interface.

Template component

Warning

Template components only preserve component properties and styles, excluding event handlers and behaviors.

Prev
GIF Animated Image
Next
Global Components