js event and event delegation
1. Events
When users browse web pages, there are many operations that interact with web pages. For example, click the button, slide the screen, move the mouse, etc. through these interactions, some operations can be completed to achieve some effect. We can call these interactions events.
2. Event bubbling
Event bubbling refers to the event p ...
Posted by birdie on Sat, 19 Feb 2022 00:52:55 +0100
[axios source code] - study and analysis of the core function in the adapter
Welcome to my official account, "front-end wall".
1, Environmental preparation
axios version v0 twenty-four Through github1s web page, you can see axios source code clone to local is required for debugging
git clone https://github.com/axios/axios.git
cd axios
npm start
http://localhost:3000/
2, Function study
1. Overvie ...
Posted by four4swords on Fri, 18 Feb 2022 23:58:46 +0100
Problems encountered in Cesium+Vue and Sinicization
Recently, the company has to use three-dimensional maps and can't afford perfect arcgis. It can only embrace open source Cesium. Let's talk about the pits I encountered in Cesium.
cesium+vue dependent package cannot be downloaded
There are a large number of articles on cesium+vue project configuration on the Internet. I won't say more. Here i ...
Posted by Bhaal on Fri, 18 Feb 2022 22:32:47 +0100
Learn WEB front end from scratch - advanced WEB page - HTML5+CSS3
📓 Project introduction
First introduce yourself. I'm a back-end programmer who doesn't write the front-end, so I teach myself the front-end 🙇. In this project, I will work with you to learn the front-end from the zero foundation. From the perspective of back-end programmers, the front-end is limited by the author's level. This project will ...
Posted by AKA Panama Jack on Fri, 18 Feb 2022 20:54:49 +0100
Timestamp in JavaScript
1, Convert to JavaScript timestamp
1.Date.now() Use date Now() can get the current timestamp
Date.now(); //1645099205343
new Date().getTime() 1645099205343
2.Date.parse() converts a string or time object directly to a timestamp However, this method is not recommended. The value at the millisecond level is converted to 000
Date.parse() ...
Posted by bynary on Fri, 18 Feb 2022 19:09:38 +0100
Anti shake, throttling and application / Fashion cloud / front end / JavaScript learning
Learning / anti shake, throttling and Application
Fashion cloud / front end / JavaScript learning
Topic: about "anti shake" and "throttling"
Hello, I'm fashion, a web front-end developer and author Fashion cloud | home page,
Blog Garden, Jianshu and other platforms search fashion cloud
Â
catalogue
Learning / ...
Posted by deepakagrawal1982 on Fri, 18 Feb 2022 18:11:26 +0100
Introduction to cloud development of wechat applet value
1, Applet cloud development
Cloud development of applications:
Developers can use cloud development to develop wechat applets and games. They can use cloud capabilities without building a server.
Cloud development provides developers with complete native cloud support and wechat service support, weakens the concept of back-end and operation ...
Posted by TheCase on Fri, 18 Feb 2022 17:06:21 +0100
H5 canvas introduction to mastery (Part I)
catalogue
1, Introduction to canvas
2, Drawing basis
1. Introduction to canvas label
2. canvas Context
4. Case: drawing a table in canvas
5. beginPath status of canvas
6. Draw rectangle rect
7. Draw circular arc
8. Case: draw a pie chart based on a set of data
1, Introduction to canvas
Canvas is a new label provided by HTML5 < ca ...
Posted by 2gd-2be-2rue on Fri, 18 Feb 2022 14:16:29 +0100
JavaScript learning notes
3, Standard object
1. Use the typeof operator to obtain the type of object. Note that the type of NaN is number, and the types of null, array and object {} are object:
typeof 123; // 'number'
typeof NaN; // 'number'
typeof 'str'; // 'string'
typeof true; // 'boolean'
typeof undefined; // 'undefined'
typeof Math.abs; // 'function'
typeof null; ...
Posted by ibbo on Fri, 18 Feb 2022 14:11:56 +0100
JS built in constructor Boolean number string math date array
JS built in object constructor
[the external chain image transfer fails, and the source station may have anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-C1Z5e4H4-1620368930653)(C:\Users \ Wang Xiu \ appdata \ roaming \ typora user images \ image-20210408114150517. PNG)]
This figure shows the constru ...
Posted by ngolehung84 on Fri, 18 Feb 2022 13:52:14 +0100