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

    • Installation
  • Core Concepts

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

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

    • Widget Animation
    • Screen Load Animation
    • GIF Animated Image
    • Lottie Animation
  • Advanced Features

    • Layout
    • Use External Image File as Source
    • Template Component
    • Global Components
    • Screen Management
    • Communication Commands and Events
  • Development

    • Build Mode
    • 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
Use External Image File as Source
Next
Global Components