Detailed explanation of Proxy in JavaScript
Zero. IntroductionreferenceCalculation Ji Blog posts:< Detailed explanation of Proxy in JavaScript>Ruan Yifeng's< ECMAScript 6 getting started>- 15.ProxyCorrected some errors and reorganized the editing and typesetting for personal learning only.The origin of the problemvue3.0 starts Proxy instead of object Defineproperty, causing s ...
Posted by rcatal02 on Sat, 25 Dec 2021 01:54:00 +0100
React -- props of the three cores of component instances
2. props
When we need to transfer external data to the component, we need to use the props attribute of the component instance.
Because state is internal to the component. You cannot use state to directly receive data only after the component is created, such as the data requested back.
Transfer label properties
The data passed to props is ...
Posted by ericbangug on Fri, 24 Dec 2021 22:30:14 +0100
Vue3 + element plus realizes the effect of data paging in the form
Final effect:
Β
1. Components used
Pagination component
<el-pagination v-model:currentPage="currentPage4"
:page-sizes="[100, 200, 300, 400]"
:page-size="100" layout="total, sizes, prev, pager, next, jumper"
:total="400" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
2. Pag ...
Posted by callie212 on Fri, 24 Dec 2021 21:59:57 +0100
2022 front end required β Regular Daquan, please π Put it away in advance
Hello, I'm the author of any rule (a vscode plug-in). Thank you for your long-term love for any rule After more than one year's use, the background of any rule has been logged with 10w +. At the end of the year, please share your favorite regularities in this yearhttps://github.com/any86/any-...π₯ Regular TOP10As expected, the most commonly use ...
Posted by slicer123 on Fri, 24 Dec 2021 18:04:40 +0100
Pinyin Pro Library -- a pure front-end implementation of javascript for converting Chinese characters to Pinyin
Generally, the function of converting Chinese characters to Pinyin is implemented by requesting the server api. For some simple requirements, we can use an npm toolkitββ pinyin-pro , the pure front-end realizes the function of converting Chinese characters to Pinyin.
Characteristic function
Support the input and acquisition of Chi ...
Posted by chiefrokka on Fri, 24 Dec 2021 16:05:27 +0100
Vue: front end engineering and webpack
1, Concept of front end Engineering
webpack: a specific solution for front-end engineering
Front end Engineering: in the development of enterprise level front-end projects, standardize and standardize the tools, technologies, processes and experience required for front-end development. Front end engineering solutions
Current mainstream fr ...
Posted by cuboidgraphix on Fri, 24 Dec 2021 11:44:42 +0100
About the screen, pagey, clienty, layery and offsety properties of mouse events
About the screen, pagey, clienty, layery and offsety properties of mouse events
screenY
The offset of the mouse relative to the upper left corner of the display screen
pageY
The offset of the mouse relative to the upper left corner of the page (its value is not affected by the scroll bar)
This property is not supported under IE9
But you ...
Posted by jalapena on Fri, 24 Dec 2021 11:29:51 +0100
Web front end learning notes 11: JavaScript_ Notes_ Input and output_ Variable_ Data type_ Keywords_ Reserved word_ Operator_ Process control
JavaScript Foundation Day 01
1 - Programming Language
1.1 programming
Programming:
Is to let the computer use a programming language to write program code to solve a problem, and finally get the result. Computer program:
It is a series of instructions executed by the computer, and all the programs are written in the language we mas ...
Posted by timcclayton on Fri, 24 Dec 2021 11:12:19 +0100
[dry goods sharing | suggestions collection] 2w word exploding liver detailed JavaScript object
Thank you for meeting. Hello, I'm ken
Author: please call me ken Link: Please call me a ken home page link Source: CSDN The copyright belongs to the author. For commercial reprint, please contact the author for authorization, and for non-commercial reprint, please indicate the source.
ππ About Preface:
Some of the contents and picture ...
Posted by phpQuestioner on Fri, 24 Dec 2021 08:20:12 +0100
js learning experience
js learning notes:
1, Data type:
(1) Type conversion
1. Implicit conversion
1. Convert numeric + character type to character type
console.log(12 + 'character');//string type, output: 12 characters
console.log('12' + 1);//Output 121
2. In case of - * / etc., it is generally converted to numerical type
console.log('12' - 1);//number t ...
Posted by bastien on Fri, 24 Dec 2021 08:01:57 +0100