Have you mastered the knowledge points of ES7-ES12?
Array.prototype.includes()
The includes() method is used to determine whether an array contains a specified value. If it does, it returns true; otherwise, it returns false.
arr.includes(valueToFind[, fromIndex])
valueToFind, the element value to find. fromIndex optional. Search valueToFind from the fromIndex index. If it is a negative value ...
Added by Bendude14 on Tue, 15 Feb 2022 09:17:47 +0200
html front-end tutorial - video insertion methods compatible with each browser
Today, let's share the "HTML front-end tutorial - video insertion methods compatible with each browser "This article, based on the detailed introduction of example coding, may have a certain reference space and use value for everyone's programming road. Friends in need will learn from Yunnan Qianlong Mark next. There are two methods t ...
Added by adt2007 on Tue, 15 Feb 2022 08:59:17 +0200
Internationalization of react project: realizing automatic assembly scheme
This scheme provides a plug-in front-end project internationalization implementation scheme, which can support internationalization without supporting internationalization at the beginning for some reasons, and then support internationalization without modifying the original business code. Make use of construction tools to achieve the internati ...
Added by lancey10 on Tue, 15 Feb 2022 08:27:00 +0200
[CSS article] what is the difference between display:none and visibility:hidden and opacity:0?
As the name suggests, both display and visibility are to hide page elements. Let's see the difference between them. opacity, finally.1, display: none1. After setting the display:none attribute to the element, the element is hidden and the occupied space disappears.i see: <div>
<button>A Button</button>
<butto ...
Added by sdaniels on Tue, 15 Feb 2022 08:07:40 +0200
How is the mask effect achieved in the LPL Ban/Pick selection stage?
Recently, the S11 LPL spring competition started. In the process of watching the competition, I found a new and interesting mask effect in the Ban/Pick selection stage of the new season, as shown in the following figure:Of course, it is a dynamic effect. In the process of selecting a candidate, there will be a breathing effect:The Gif image is ...
Added by burhankhan on Tue, 15 Feb 2022 05:30:37 +0200
Basic use of ES Module
ES Module
The blogger will continue to update various front-end technologies. If you like, you can pay attention to, collect and praise the blogger's articles.
Basic characteristics of ES Module
ESM automatically adopts strict mode and ignores' use strict 'Each ES Module runs in a separate private scopeESM requests external JS modules throug ...
Added by nitroxman on Tue, 15 Feb 2022 05:25:41 +0200
Understand SourceMap and improve the efficiency of front-end development by 100%
1, What is a Source Map
Generally speaking, Source Map is an information file that stores the location information after code packaging and conversion. In essence, it is a json description file that maintains the code mapping relationship before and after packaging. For an explanation of # source maps # see # Introduction to JavaScript Source ...
Added by Indersingh on Tue, 15 Feb 2022 04:05:22 +0200
Node.js data Stream (Stream interface)
1 Overview
Data reading and writing can be regarded as a special case of Event mode. The continuously sent data blocks are like events. Reading data is a read Event, writing data is a write Event, and data block is the information attached to the Event. Node provides a special interface Stream for such situations.
stream is a way of handl ...
Added by leon_zilber on Mon, 14 Feb 2022 16:03:28 +0200
jQuery learning notes
1. Introduction to jQuery
JavaScript+Query (query), which is a js class library to assist JavaScript development. Its core idea is write less, do more, so it realizes many browser compatibility problems.
jQuery is free and open source. Its syntax design can make development more convenient, such as operating document objects, selecting DOM el ...
Added by phpSensei on Mon, 14 Feb 2022 15:56:18 +0200
Implementation principle of Vue router
1, Front end routing concept
By changing the URL, the page view is updated without re requesting the page.
2, Vue router two modes
Updating the view without re requesting the page is one of the cores of the front-end routing principle. At present, there are two main ways to realize this function in the browser environment:
Hash - de ...
Added by yaatra on Mon, 14 Feb 2022 15:43:42 +0200