A component calling method, apparatus, device and storage medium
A technology of components and sub-components, applied in the field of computer software applications, 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 the needs of business development and improve 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 flow chart of a component calling method provided by Embodiment 1 of the present invention. This embodiment is applicable to calling subcomponents in a pre-built Weex public component library. The method can be executed by a component calling device, which can be performed by It can be realized by means of 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 a pre-built Weex common component library.
[0029] Wherein, the Weex public component library includes at least two types of sub-components; the update operation between the Weex public component library and the sub-components, and the update operation between the sub-components 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 entir...
Embodiment 2
[0040] Figure 2a It is a flowchart of a component calling method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. The specific implementation of the subcomponents in the common component library. Correspondingly, such as Figure 2a As shown, the method of this embodiment may include:
[0041] S210. Install and configure a pre-built Weex common component library.
[0042] S220. Fill the component object, name, version number, and setting symbol corresponding to the subcomponent at the set position in the code statement of the set format to form a code statement to be executed.
[0043] Wherein, the setting location may be a location where code content needs to be modified correspondingly when calling different sub-components, and the setting symbol may be a user-defined symbol, such as "~, @ or &".
[0044] In the embodiment of the present invention, code content such as component object, name, ...
Embodiment 3
[0066] image 3 It is a schematic diagram of a component invoking device provided by Embodiment 3 of the present invention, such as image 3 As shown, the device includes: a component library installation module 310 and a subcomponent calling module 320, wherein:
[0067]Component storehouse installation module 310, is used for installing and disposing pre-built Weex public component storehouse, wherein, described Weex public storehouse comprises at least two types of subassemblies; update operations, and update operations between said subcomponents are independent of each other;
[0068] The subcomponent calling module 320 is used to call the subcomponents in the Weex public component library through the formatted code statement.
[0069] The embodiment of the present invention calls the subcomponents in the Weex public component library by installing and configuring the pre-built Weex public component library through a formatted code statement, wherein the Weex public comp...
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