Component invocation method, equipment, device and storage medium
A technology of components and sub-components, which is applied in the field of component calling methods, devices, equipment and storage media, can solve the problems that components and APIs cannot meet the needs of developers, reduce development efficiency, and reinvent the wheel, so as to meet business development needs, The effect of improving development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Figure 1a It is a flowchart of a method for invoking a component provided by the first embodiment of the present invention. This embodiment is applicable to the case of invoking sub-components in the pre-built Weex public component library. The method can be executed by a component invoking device, which can be It can be implemented in software and / or hardware, and can generally be integrated in computer equipment. Correspondingly, such as Figure 1a As shown, the method includes the following operations:
[0028] S110. Install and configure the pre-built Weex public component library.
[0029] Wherein, the Weex common component library includes at least two types of subcomponents; the update operations between the Weex common component library and the subcomponents, and the update operations between the subcomponents are independent of each other.
[0030] In the embodiment of the present invention, the Weex public component library is a pre-built component library, and the e...
Embodiment 2
[0040] Figure 2a It is a flow chart of a method for invoking a component provided in the second embodiment of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiment. In this embodiment, it is shown that the Weex can be invoked by a code statement in a set format. The specific implementation of the sub-components in the common component library. Correspondingly, such as Figure 2a As shown, the method of this embodiment may include:
[0041] S210. Install and configure the pre-built Weex public component library.
[0042] S220: Fill the component object, name, version number, and setting symbol corresponding to the sub-component at the setting position in the code sentence of the setting format to form a code sentence to be executed.
[0043] Among them, the setting location can be the location where the code content needs to be modified correspondingly when calling different subcomponents, and the setting symbol can be a custom symbol, suc...
Embodiment 3
[0066] image 3 It is a schematic diagram of a component calling device provided in the third embodiment of the present invention, such as image 3 As shown, the device includes: a component library installation module 310 and a sub-component calling module 320, where:
[0067] The component library installation module 310 is used to install and configure a pre-built Weex public component library, where the Weex public component library includes at least two types of sub-components; the Weex public component library and the sub-component Update operations, and update operations between the sub-components are independent of each other;
[0068] The sub-component calling module 320 is used to call the sub-components in the Weex common component library through code statements in a set format.
[0069] In the embodiment of the present invention, a pre-built Weex common component library is installed and configured, and the sub-components in the Weex common component library are called b...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com