Vue instructions: interpolation ({, v-text and v-html), v-model, v-on
instructions
Directives: special attributes with v-prefix. For example, the v-model in the entry case represents two-way binding.
Interpolation expression
Interpolation: used where vue instance data needs to be displayed
You can invoke the data properties and functions of the instance in the interpolation expression.
Curly bracket ({})
Fo ...
Posted by vaaaska on Thu, 21 Oct 2021 17:46:44 -0700
Come and see what kind you are? Data types and operators
welcome to the front end technology camp! If you are also a front-end learner or have the idea of learning from the front-end, follow me to attack the front-end from scratch. we are committed to introducing front-end knowledge and our own shortcuts as detailed and concise as possible, which is also a record on the way of learning. ...
Posted by imekul on Thu, 21 Oct 2021 16:43:58 -0700
Understanding of asynchronous macro and micro tasks and the execution order of promise async settimeout
During the interview, you will inevitably encounter the problem of asynchronous execution sequence. Let's have a look. Content continuously updated ~
Asynchronous and synchronous concepts
javascript language is a "single thread" language. Operations that can change the normal execution order of programs can be regarded as asynch ...
Posted by yanjchan on Wed, 20 Oct 2021 23:09:22 -0700
js string method
String operation method
1. Convert to string type toString()
(1)var num=110;
var n=num.toString(); //"110"
(2)var num=111;
var n=String(num); //"111"
(3)var num=112;
var n="" + num; //"112"
2. String segmentation returns a new array split()
(1)var str="qingchenghuwoguoxiansheng,woaishenghuo,woaiziji";
var arr1=str.split ...
Posted by dirkbonenkamp on Wed, 20 Oct 2021 18:58:59 -0700
Cesium intermediate tutorial 10 - cesium JS and webpack
webpack is a popular and powerful tool for packaging JavaScript modules. It allows developers to construct code and assets in an intuitive way, and use simple require statements to load different types of files as needed. When built, it tracks code dependencies and packages these modules into one or more packages loaded by the browser.
In the ...
Posted by cosmos33 on Wed, 20 Oct 2021 18:53:05 -0700
Did you really use React's setState correctly?
First of all, we need to make it clear that setState is not an asynchronous method, which is very similar to the reason for asynchrony: there is a deviation between the call order of hook () and synthetic events and the execution order of setState, resulting in an asynchronous presentation form, resulting in the illusion of asynchro ...
Posted by CreativeWebDsign on Wed, 20 Oct 2021 18:28:24 -0700
Quick start Promise in JavaScript
When I was a little white, I read a lot of documents about Promise. I never understood what the pain point of asynchronous operation means It wasn't until I turned to all the Chinese documents on the first page of Google that I had an epiphany. In fact, it was the simplest and rudest to understand from his English literal meaning This is a prom ...
Posted by habuchas on Wed, 20 Oct 2021 13:21:18 -0700
Basic interaction of javascript
catalogue
1, Get method of element
Get under document
id acquisition
Class name acquisition (className)
Tag name (tagName)
Custom acquisition range
2, Mouse event
Onmousesave mouse away
onmouseover mouse in / onmouseout mouse out And onmouseenter Mouse entry / onmouseleave Mous ...
Posted by kwilder on Wed, 20 Oct 2021 12:03:09 -0700
Nearly 10000 words Vue detailed basic tutorial
catalogue
1.1 concept (based on vue2)
1.2 vue/cli scaffold
1.2.1 create project startup service
1.2.2 explanation of project directory (can be omitted)
1.2.3 custom configuration
1.2.4 eslint
1.2.5 single vue document
1.3 interpolation expression
1.4 MVVM design pattern
1.5 Vue instruction (key points, remember with a small book)
1 ...
Posted by phpyoungdeveloper on Wed, 20 Oct 2021 10:16:00 -0700
JavaScript and js constitute web API, DOM and five methods to obtain elements
js consists of web API, DOM, get element, ID get element, tag name get, HTML5 new get, quertSelector, document.querySelectorAll, get special elements (body, HTML)
Composition of JS
API
API Application programming interfaces are predefined functions designed to provide applications and developers with the ability to access a set of programm ...
Posted by gb75 on Tue, 19 Oct 2021 22:16:02 -0700