Vue2.0 self study notes
1, Understanding Vue
Author: you Yuxi Progressive framework: select the tools in the framework according to your own needs. VUE does not require you to accept and use all its functions and features at one time Vue Data driven Progressive framework Software design pattern based on MVVM React Develop the most rigorous framework for large project ...
Posted by voitek on Tue, 02 Nov 2021 00:10:53 -0700
II. Get / Post receiving parameters in Koa2 framework
One is to realize cross domain access
1. If the API you want to develop is called by the front-end project (such as Vue), the first step must be to realize cross domain access. The implementation of cross domain access in Koa2 framework is slightly different from that in Express. You need to install Koa2 CORS middleware to realize cross do ...
Posted by e11even on Mon, 01 Nov 2021 21:13:42 -0700
vue realizes multi-functional virtual scrolling of large amount of data in tree
catalogue
source
Caton faked death
Pre research
development
Used in business
Introduced in component
Function list
use
source
Because there is tree data in the process of business development, tree components are needed. Since the project is based on vue, the early selection of ui component library is element ui, so El tree compone ...
Posted by dcooper on Mon, 01 Nov 2021 08:24:42 -0700
Five common scenarios and examples of JavaScript deconstruction assignment
Deconstruction assignment syntax is a JavaScript expression. By deconstruction assignment, you can take the attribute / value from the object / array and assign it to other variables. This syntax is a new syntax introduced by ECMAscript 6 specification, which makes it easier to get values from arrays and objects.
1. Extract data
Let's tak ...
Posted by amelhedi on Mon, 01 Nov 2021 08:02:24 -0700
Ajax learning notes, native Ajax, jQuery Ajax, cross domain problems
Ajax learning notes
AJAX is a developer's dream because you can:
Update web pages without refreshing pagesRequest data from the server after the page is loadedReceive data from the server after the page is loadedSend data to the server in the background
1. Native js implements ajax
<script>
var box = $(".box");
$("button").cli ...
Posted by jeny on Sun, 31 Oct 2021 18:57:13 -0700
JavaScript learning -- episode closure
A good memory is not as good as a bad pen. I digest and absorb it myself in the process of writing, so I wrote this JavaScript learning series. The text in the article is what you understand. You can watch it as appropriate.
I saw a very common topic in JavaScript you don't know - Part ...
Posted by danesc on Sun, 31 Oct 2021 18:12:38 -0700
AutoJs implementation of energy collection in ant forest (precision optimization version)
preface
it's coming, it's coming, your stolen energy is back! in May, I wrote an article on AutoJs to save energy (this is a link) In the twinkling of an eye, five months have passed. The previous save energy script can only ensure that you can click on energy well in the first 10 seconds, but it will be wildly misplaced an ...
Posted by parthatel on Sun, 31 Oct 2021 15:11:13 -0700
Basic use of Vue
Community information: Vue: Vue.js professional Chinese community
vue official Manual: API — Vue.js
1, Introduction to vue
Vue is a progressive framework for building user interface. Vue only focuses on layers and adopts the design of bottom-up incremental development. Vue's goal is to achieve responsive data binding and combined view compon ...
Posted by stublackett on Sun, 31 Oct 2021 10:01:20 -0700
Type conversion in js
Type conversion is divided into two types: forced type conversion and implicit type conversion
Cast type
Forced type conversion mainly refers to three functions: Number(), String(), and Boolean. Manually convert various types of values into numbers, strings, or boolean values
Number()
There are two main types: one is that the parameter is t ...
Posted by richardwarren on Sat, 30 Oct 2021 23:34:40 -0700
JS array function
8. Array
1. Create an array using array literal: with a square bracket
var array name = []// Create an empty array
var array name = [1,2, 'year', ture]// Create an array with initial values using array literals
2. Type of array element: the array can hold any type of data
3. Get / access array elements through array name [index]
Index starts at ...
Posted by leandro on Sat, 30 Oct 2021 20:00:24 -0700