Method and electronic device for optimizing picture lazy loading using front-end programming language
A programming language and lazy loading technology, applied in the direction of network data browsing optimization, program control device, user interface execution, etc., can solve problems such as poor performance of web page pictures, and achieve the effect of improving efficiency, improving performance and saving time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] The present invention provides a method for optimizing lazy loading of pictures by using a front-end programming language and an electronic device. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0041] see figure 1 , a method for optimizing lazy loading of images using a front-end programming language, which includes:
[0042] S1. When the webpage loads the cached image by lazy loading of the image, it is judged whether the current node of the cached image has been rendered;
[0043] S2. When the rendering of the current node of the cached picture is completed, display the predefined cached picture on the webpage;
[0044] S3. Obtain the target node of the target image, and determine whether th...
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