Three minutes to teach you to write a WebSocket App with Scarlet t
In mobile applications, the data layer is the real source of content displayed on the screen. However, when we integrated the WebSocket API into Tinder earlier this year, maintaining it became a headache. In order to integrate WebSocket more easily on Android, Scarlet t came into being, which is a declarative Kotlin library.WebSocket is one of ...
Added by Darkpower on Thu, 06 Jan 2022 17:18:58 +0200
Use object Defineproperty implements constant declarations under es5
Purpose of this article: es5 implements the const constant declaration of es6
catalogue
1.defineProperty usage
1.1 Object.defineProperty(obj, prop, descriptor)
1.2 modification parameters
1.2.1 configurable
1.2.2 enumerable
1.2.3 value
1.2.4 writable
1.2.5 get
1.2.6 set
1.3 usage of modification parameters
1.4 default values requi ...
Added by jedney on Thu, 06 Jan 2022 13:24:15 +0200
webpack: advanced usage
1, Using ESLint in webpack
How does ESLint land?
Integration with CI/CD systemIntegration with webpack
Integration of webpack and ESLint Use eslint loader to check the JS specification at build time. Next, let's use eslint config airbnb, which has many dependencies
The first step is to install the dependency
npm install eslint eslint-plug ...
Added by mlewczuk on Thu, 06 Jan 2022 12:55:45 +0200
Front end notes summary
catalogue
catalogue
Front end Foundation
HTML
1. Basic label
2. Page structure analysis
3. Advanced label
CSS
1. Basic knowledge
2. Beautify web pages
JS
1. Basic knowledge
2. Detailed description of data type
3. Function
4. Object oriented programming
5. Operate BOM object (key)
6. Operating DOM objects (key points)
7. Ope ...
Added by djelica on Thu, 06 Jan 2022 06:20:05 +0200
Film theme website design -- imitation 360 film and television website (1 page) HTML+CSS+JavaScript student DW web page design homework finished web course design web page planning and design
HTML5 final assignment: movie theme website design - imitation 360 film and television website (1 page) HTML+CSS+JavaScript student DW web page design assignment finished web course design web page planning and design computer completed web page design source code
Common web design topics include individuals, food, companies, schools, touri ...
Added by robin on Thu, 06 Jan 2022 05:24:36 +0200
Introduction to WebGIS -- how to make a simple campus map service website
Configuration of OpenLayer Library
Call in HTML
Openlayers is an open source Javascript library used to display maps in Web browsers. Official website( https://openlayers.org/ )The download package and use case of OpenLayer are provided; The most commonly used reference methods are as follows: 1. Online call
<!doctype html>
<htm ...
Added by HERATHEIM on Thu, 06 Jan 2022 04:14:58 +0200
Start from 0 and take you to the beginning. Vue3 - the most complete in the whole network (1.1w words)
God's destiny is not afraid, and ancestors are not law—— Wang AnshiprefaceThis article is not a title party, but a real hard core article. If you want to learn from Vue3, you can browse this article. Generally speaking, this blog covers most of the contents of Vue3, including common composition APIs (composite APIs), other compositi ...
Added by Svoboda on Thu, 06 Jan 2022 02:36:50 +0200
ES6 of front-end interview questions
1.ES6 is the next generation standard of js language and was released in June 2015
2.let const
Let declared variables are only valid in the code block where the let command is located
let can only be declared once
let does not exist. Variable promotion will have a temporary dead zone. If the dead zone is typeof, an error will be reported
...
Added by Sharif on Thu, 06 Jan 2022 02:02:18 +0200
Vue (15) - Vue scaffold configuration agent, slot (default slot, named slot, scope slot)
catalogue
1, vue scaffold configuration agent
1. Method 1
2. Method 2
2, Slot
1. effect
2. classification
3. Mode of use
1. Default slot
2. Named slot
3. Sco ...
Added by rationalrabbit on Thu, 06 Jan 2022 01:59:01 +0200
Set and Map of ES6
Set and Map data structures
Set
Set is a new data structure of es6. It is similar to array, but the values of members are unique and there are no duplicate values.
Set itself is a constructor used to generate a set data structure
Usage:
const s = new Set();
[1,2,3,3,2,1,6].forEach(x => s.add(x));
for(let i of s){
console.log(i);//1 ...
Added by jackpf on Thu, 06 Jan 2022 01:46:57 +0200