js function - up
typora-copy-images-to: media
Function - up
introduce:
Let's ask you a question first. Have you washed your clothes?
How to wash it manually? That basin, take water, put clothes, pour washing powder, wash, rinse and wring dry
It's hard. Is there a simple way?
Use the washing machine, put the clothes in, pour the washing powder, press the s ...
Added by nemonoman on Sat, 25 Dec 2021 20:07:58 +0200
Electron process management tool development diary 3: process pool load balancing, intelligent start and stop
>>Original linkSome of the tools and methods implemented in this paper are in the early / test stage and are still under continuous optimization. They are only for referenceAt Ubuntu 20 Developed / tested on 04, available for electron project, test version: Electron@8.2.0 / 9.3. fiveContents├── Contents (you are here!)
│
├── I. preface
├ ...
Added by levi_501_dehaan on Sat, 25 Dec 2021 18:26:58 +0200
Big data table stuck processing problem UMI UI
Big data table stuck processing problem UMI UI
When developing large-scale projects or projects with too much data, we will cause the problem of form jamming and its thorny problems because of the large amount of data. Here I recommend that you can try using the UMI UI component library. Tens of thousands of data are much more convenient witho ...
Added by kreoton on Sat, 25 Dec 2021 13:56:26 +0200
Various geometries in chapter 5 threejs
Here we introduce some geometry provided by threejs:
Planegeometry (plane)CircleGeometry (circle)Shapeometry (shaping)Cube geometrySphereometry (sphere)Cylinder geometryTorusgeometry (torusgeometry)Torus knot geometryPolyhedron geometryIcosahedrongeometry (more than 20 sides)Octahedron geometryTetrahedron geometry
2D geometry
PlaneGeomet ...
Added by sudhakararaog on Sat, 25 Dec 2021 13:25:16 +0200
Detailed explanation of JavaScript functions
Concept:
A function is a tool with a certain function. Is a piece of code to complete a function.
Have you ever used functions before?
parseInt() alert() are all functions provided by the system and can be used directly.
The system provides many functions, but not all functions are included, so some functions need to be written by ourselves ...
Added by phprocker on Sat, 25 Dec 2021 10:20:17 +0200
this Parsing of JavaScript
To say that JavaScript is the language's most confusing point of knowledge, this keyword is definitely one. Learning this will expand your knowledge and deepen your understanding of the code. Even if you don't intend to use it in your code base, knowing where this is going will help you take over someone else's code and understand its logic.1. ...
Added by qaokpl on Sat, 25 Dec 2021 08:19:28 +0200
JS array, and the use of timer and delayer
preface
On 04day of training 1, I mainly learned the array in JS and the use of timer and delayer.
Tip: the following is the main content of this article. The following cases can be used for reference
DAY04
1, Tab tab Toggle
The same location displays different contents on the interaction of different elements;
Core problem: note ...
Added by usvpn on Sat, 25 Dec 2021 08:00:33 +0200
Recommended 22 practical one line Javascript code Date Daquan, recommended collection
In daily development, Date is often used by us. Some commonly used UI frameworks, such as Antd and ElementUI, use things like moment js,day.js time tool library to deal with their components about time, but when we break away from these frameworks and want to solve a problem about time conversion, it is redundant to introduce a time tool librar ...
Added by Rohan Shenoy on Sat, 25 Dec 2021 06:56:13 +0200
Six methods of array de duplication have also come!
The array object de duplication is completed. Let's look at the array de duplication.
1, The first method
Use indexOf() and push() for array de duplication.
The indexOf() method returns the first occurrence of a specified string value in the string. If no matching string is found, - 1 is returned. Note: the indexOf() method is case sens ...
Added by slashpine on Sat, 25 Dec 2021 03:49:40 +0200
Standard and Vue event overloading, preventing event bubbling, preventing default behavior of events, and Vue event handling (three modifications and. exact)
1, Event overload
<button @click="c1">Click 1</button>
<button @click="c2('Zhang San')">Click 2</button>
<button @click="c3('Li Si', $event)">Click 3</button>
methods: {
c1(e) { // There are no parameters, and $event is passed by default
console.log(e); // MouseEvent object
},
c2(val) { ...
Added by jagguy on Fri, 24 Dec 2021 22:54:50 +0200