Vue basics, easy to understand - from LeeVee
Teacher LeeVee from the very good Silicon Valley I advertise Silicon Valley
additional
Vue3 Custom Directive | Rookie Bird Tutorial (runoob.com)
index.html
<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
...
Posted by IanMartins on Sun, 26 Sep 2021 10:05:59 -0700
Detailed explanation of css Foundation
CSS: page beautification and layout control
Concept: Cascading Style Sheets
Cascade: multiple styles can act on the same html element and take effect at the same time Benefits:
PowerfulSeparating content presentation from style control
Reduce coupling. decoupling Make division of labor and cooperation easierImprove development eff ...
Posted by mdj on Sun, 26 Sep 2021 02:50:59 -0700
Vue listener watch
The listener listens for data changes in the data. If the data changes, it notifies the listener of the bound method to perform the corresponding operation. From this point, it is very similar to calculating attributes.
However, listeners also have their own unique application scenarios.
Perform asynchronous or expensive operations.
Next, le ...
Posted by aks.it on Sat, 25 Sep 2021 16:34:36 -0700
this point in javaScript is no longer lost
What is this pointing to?
No matter where you use this, it eventually points to an object; Where this is used and which object it will point to depends on the location of the function call. In short, remember one sentence:
Which object calls the function and which object this in the function points to.
this point in different scenes ...
Posted by truckie2 on Thu, 23 Sep 2021 00:46:57 -0700
JS operator - comparison operator
Comparison operator
summary
The comparison operator is used to compare the size of two values, and then return a Boolean value indicating whether the specified conditions are met.
2 > 1 // true
The above code compares whether 2 is greater than 1 and returns true.
Note that comparison operators can compare various types of values, no ...
Posted by klaaz on Wed, 22 Sep 2021 01:08:16 -0700
Vue writes (preventReClick) anti riot point + de bounce and throttle functions
Several have been tried before and have no effect. Reasons:
1. The writing method of vue is a little different from that of ordinary, because this of vue is not only the current component object, but also inherits the vue object upward (the difference can be seen below) 2. Call and apply can only inherit the parent, not deep inheritance 3. Bec ...
Posted by xtian on Tue, 21 Sep 2021 18:06:41 -0700
Vue basic instruction (text, binding event, interpretation, loop)
Vue instruction
v-text instruction
Set the text value of the label (textContent)
v-text < p v-text = "data distortion" ></p> <!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
< ...
Posted by webguync on Mon, 20 Sep 2021 09:41:45 -0700
Fluent learning - theme style
In the development of fluent, we can reuse colors and descendants by defining themes, so as to make the design of the whole APP look more consistent
1. Use of theme theme
Theme is divided into global theme and local theme
Topics serve two purposes:
After setting the theme, some widgets will automatically use the theme style (such a ...
Posted by rich1983 on Mon, 20 Sep 2021 08:50:56 -0700
Vue construction project - preliminary construction
1. Prepare the environment
If you have an older version Vue cli, uninstall it
1 npm uninstall vue-cli -g //Or yarn global remove Vue cli
Install new version
cnpm install -g @vue/cli //yarn global add @vue/cli
vue -V
2. Create project
Create a project and write the project name
vue create <Project Name>//Humps (including u ...
Posted by Theramore on Mon, 20 Sep 2021 04:09:58 -0700
How to solve the oversold problem under gaobingfa
Current limiting: it is solved by configuring sentinel
Queue, asynchronous
Through locking synchronized or lock, the problem is that the scope of synchronized is a single jvm instance, the cluster distribution fails, and the serial efficiency decreases after locking a single jvm
Distributed locks can be used, but ...
Posted by Fractal on Mon, 20 Sep 2021 02:32:46 -0700