About the drag effect of H5

Dragging process: dragstart: this event is triggered on the dragged element at the beginning of dragging. The listener needs to set the data required for dragging. This event is not triggered when dragging files from the operating system to the browser. Regenter: trigger on the element when draggi ...

Posted by PugJr on Thu, 24 Oct 2019 03:57:35 -0700

[learning notes] GitHub chapter of third party login

The first step is preparation. Get Client ID and Client Secret 1. Log in GitHub official website and click Setting, as shown below: 2. Continue, click Developer settings, as shown below: 3. Continue, click Oauth Apps, as shown below: 4. Continue, click new origin app, as shown below: 5. Continue. After filling in, click Register ap ...

Posted by Waseem Ullah Kh on Thu, 17 Oct 2019 07:35:37 -0700

JS learning notes (Chapter 9) (client detection)

1. Capability test The goal of capability testing is not to identify a specific browser, but to identify the capability of the browser. When possible, try to use typeof for capability testing. To test whether a property of any object exists in the browser environment, use the following function: function isHostMethod(object,property) { var ...

Posted by enterume on Wed, 16 Oct 2019 13:39:07 -0700

MySQL JSON data type practical guide

Introduction: In this tutorial, you will learn how to use MySQL JSON data types and store JSON documents in databases. Introduction to MySQL JSON data types Starting with version 5.7.8, MySQL supports native JSON data types. The local JSON data type enables you to store JSON documents more efficiently than the JSON text format in previous versi ...

Posted by dopey on Tue, 15 Oct 2019 19:31:00 -0700

Front-end JS Judgment Browser

Front-end JS Judgment Browser Now there are many browsers on the market, such as 360, QQ, Sogou and so on. But most of them are based on several existing browser kernels for secondary development. How many kernels are there in the end? 1. Trident Kernel (IE Kernel) 2. Gecko Kernel (FireFox Kernel) 3. ...

Posted by GoodGuy201 on Wed, 09 Oct 2019 07:51:33 -0700

css realizes prism with text and shadow effect

Today, we develop a VUE project to achieve a UI effect. It feels good. Record it. Look at the effect map first. First of all, when I first saw the layout, I felt that it should be possible to rotate 45deg with a p tag, but after the rotation, the text also rotated. This problem is unacceptable; th ...

Posted by spyder on Fri, 04 Oct 2019 21:56:25 -0700

Application of H5 dragging method in VUE

There are many pulling wheels on the Internet, but there are always some demands that the wheels can't meet. When the use of wheels can not meet their own needs, the use of H5 native dragging method has the following advantages: api is rich and flexible to implement drag-and-drop requirements It a ...

Posted by anita999 on Fri, 04 Oct 2019 08:59:00 -0700

Use and proxy configuration based on Python Selenium

Catalog Basic use Initialize driver Open web page Selection Tags Action events Grab the network Initialize browsermob-proxy chrome agent firefox proxy Reference resources Basic use Initialize driver chrome options = ChromeOptions() # Ignore https warnings options.add_argument('--ignore-cer ...

Posted by vamosbenedikt on Fri, 04 Oct 2019 00:10:01 -0700

Implementation of PageObject+unitetest Framework

PageObject+unittest framework Idea: The change of UI layer automated test front page results in the failure of the whole test code and the difficulty of test script maintenance. Solution: Page element and operation of page element are encapsulated separately to realize the separation of page element a ...

Posted by Shovinus on Mon, 30 Sep 2019 02:20:10 -0700

Revelation of DOM Chapter 1

Original Link: https://my.oschina.net/u/1792175/blog/598104 1.1 DOM is a tree structure When you write down the following structure in HTML, the browser will parse it into a DOM tree: ...

Posted by Trent Hatred on Mon, 09 Sep 2019 10:35:13 -0700