JavaScript Learning Summary 1.JavaScript Basic Introduction2.JavaScript Basic - Data Type3.JavaScript Basic - operators and BASIC programming break : Ends the current loop, no longer the next cycle. Continue : Ends the loop, making the next
SummaryWriting this article is mainly to find that the JSON in JavaScript and I understand the Java language of the map storage is different.Object in JavaScriptThe essence is an array, stored in the data is a stack, the concept of orderconst value =
the implementation of the bind () methodIn JavaScript, a method often involves a context, that is, this, and therefore often cannot be referenced directly. Take the most common console.log ("info ..."), avoid writing lengthy console, directly with
The concept of closuresBecause in the JavaScript language, only sub-functions inside the function can read local variables, it is possible to simply interpret the closure as "a function defined inside a function".Scope of the variableTo understand
1.JavaScript Usage Error1.1 Assignment operator Application errorIn a JavaScript program, if you use the equal sign (=) of the assignment operator in an IF condition statement, the correct method is to use the two equals sign (= =) of the comparison
First, what is anonymous functionCreate a function and assign it to the variable functionname, in which case the function created is the anonymous function. (function expression is an anonymous function)Second, closed package1. What is a closure?
Basic wrapper classes have basic methods for objects toString and ValueOfNumberThe number is the original type, so why is there a way?Because he creates a wrapper class object when he executes the method, the object has this method, and after
Date Object1. How to createvar New //The immediate return is now the current time return format(Day of the week, month and minute time zone)2. Formatting methods for datesDateobject.todatestring (); Return to day of the month and
One: Load and executeThe 1. tag is placed at the bottom of the page, the closing tag, which ensures that the page has finished rendering before the script executes.2. Merge scripts. The fewer tabs in the page load faster.3. Non-blocking Download
What is JS garbage collection? (what)JavaScript also has an automatic garbage collection mechanism (gc:garbage Collection);Because memory content is extremely limited, the garbage collector periodically (periodically) finds variables that are not in
JS in the inheritance, is object-oriented knowledge, because JS has no class concept. So inheritance is implemented through objects. Spoke of inheritance. We have to talk about prototype, we have to say the new process first.A small piece of the
Vue2.0 http request and loading display instance, vue2.0loading
We need to add two additional dependency vuex and axios :( or write the MyFirstProject of the previous project)
npm i vuex axios -D
First, briefly describe the http request
1.
Vue + ElementUI implements form dynamic rendering and visualized configuration. vueelementui
Dynamic rendering is an asynchronous data, which is about long:
{"Inline": true, "labelPosition": "right", "labelWidth": "", "size": "small", "statusIcon":
Set global variables or data methods in vue, vue global variables
Example:
Const MyPlugin = {// the install method is required. // it contains two parameters: Vue constructor and an optional option object install (Vue, options) {Vue. prototype.
Solve the problem when using the vue-aplayer plug-in, vue-aplayer plug-in
This article describes how to solve the problem when using the vue-aplayer plug-in:
Install
$ npm install vue-aplayer --save
Use
// ES6 import Aplayer from 'vue-aplayer' new
Add the axios component based on vue to solve the problem that the post parameter is null. vueaxios
Good. goods will be delivered below.
1. Install axios
npm install axios --save
2. Add the axios component
import axios from
CSS layout (6) alignment and css layout alignment
I. horizontal center:
(1 ).Is the element in the row horizontally centered?
If the element is set to text or imageWhen an element is in the row,Set text-align in the parent element: center to
CSS layout (2) Box Model attributes and css layout
Box Model attributesWidth/height
In CSS, you can set an explicit height for any block-level element.
If the specified height is greater than the height required for the displayed content, the extra
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service