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
Embodiment approach 1
[0059] For control A, the business requires that it can perform drag and drop operations. At this time, the mouse down operation is first performed on A, 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 and drop operations, control A is in the mousedown event processing function Send a drag request to the device, the process can be described as 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, the event monitoring unit captures the mousemove, and the compound event generation unit according to the state The variable is recorded, a dragmove event is generated, and the event distribution unit distributes the dragmove event to the co...
Embodiment approach 2
[0064] There are two controls A and B, and control B is the currently activated control. At this time, a mouse press operation occurs on control A, the event monitoring unit captures the mousedown event, and the compound event generation unit generates onblur / onfocus events according to the state variables , the event distribution unit will successively send the mousedown event to the A control, the onblur event to the B control and its parent control, and the onfocus event to the A control and its parent control. The active control changes to A.
[0065] Please refer to image 3 , image 3 It is a schematic flowchart of a method for centrally controlling WEB page events and states. Methods for centrally controlling WEB page events and status include:
[0066]Step 201: Obtain a browser event, where the browser event is an event captured from a browser document object or an event submitted by a control module request.
[0067] According to the Browser Object Model (BOM), a ...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com