Fxiaoke Developer Manual Fxiaoke Developer Manual
  • APL Development Manual
  • PWC Development Manual
  • OpenAPI Documentation
  • Custom Components (PC)
  • Custom Components (Mini Program)
  • Custom Plugins (PC)
  • Custom Plugins (Mini Program)
  • Third-party Integration Plugins (H5)
  • API (PC)
  • API (Mini Program)
  • Fx DevTools
Update Log
  • 简体中文
  • English
  • Custom Components (PC)
  • Custom Components (Mini Program)
  • Custom Plugins (PC)
  • Custom Plugins (Mini Program)
  • Third-party Integration Plugins (H5)
  • API (PC)
  • API (Mini Program)
  • Fx DevTools
Update Log
  • 简体中文
  • English
  • Getting Started

    • What is Custom Component
    • Develop Your First Custom Component
    • Usage Scenarios
    • Multi-file Custom Components
    • Using Static Assets in Custom Components
    • Using FxUI
      • Example
  • Components

  • Examples

  • FAQ

Table of Contents

FxUI Usage

# Usage

This section explains how to use FxUI in your project.

# Example

FxUI is directly declared on the window object and can be used as follows:

// Use this API to fetch object description  
FxUI.objectApi.fetch_describe().then(describe => {  
    // Handle business logic  
}).catch(err => {  
    console.warn(err);  
})  

FxUI.component.get('FaciLayout');  
Using Static Assets in Custom Components
Component Overview

← Using Static Assets in Custom Components Component Overview→

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式