Device and method for intensively controlling WEB page event and state
A page event and centralized control technology, applied in the field of WEB development, can solve the problems of reducing operating efficiency and increasing the workload of developers, and achieve the effects of improving operating efficiency, reducing work difficulty, and reducing the amount of code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0058] Implementation mode one:
[0059] For control A, the business requires that it can be dragged and dropped. At this time, the mouse down operation is performed on A first, the event monitoring unit captures the mousedown event, and the event distribution unit distributes the mousedown event to control A. Since control A can perform drag operations, control A is in the mousedown event processing function Send a drag request to this device. This process can be described in the following pseudo code:
[0060]
[0061] If the request is successful, the state management unit will change the record of the corresponding state variable in the state memory, so that the device enters a special drag mode. At this time, a mouse movement operation occurs on A, and the event monitoring unit captures mousemove, and the composite event generation unit is based on the state The variable recording generates a dragmove event, and the event distribution unit distributes the dragmove event to co...
Example Embodiment
[0063] Implementation mode two:
[0064] There are two controls A and B. Control B is the currently activated control. At this time, a mouse down operation occurs on control A. The event monitoring unit captures the mousedown event, and the composite event generation unit generates onblur / onfocus events based on state variables. , The event distribution unit will successively send mousedown events to the A control, onblur events to the B control and its parent control, and onfocus events to the A control and its parent control. The state management unit changes the record of the state variable in the state memory and changes the current The activated control is changed to A.
[0065] Please refer to image 3 , image 3 Schematic diagram of the method flow for centralized control of WEB page events and status. Methods for centralized control of WEB page events and status include:
[0066] Step 201: Obtain a browser event, which is an event captured from a browser document object o...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap