Knowledge system of Web front end development engineer_ 35_JavaScript jQuery (final)

1, Ajax $.ajax({ url:"Server interface address", type:"get or post", //Request type data:{ //If there are no parameters, they can be omitted Parameter name: Parameter value, ... : ... }, dataType:"json", //Automatically call JSON.parse() to convert the json string returned by the server into an array or object directly ...

Posted by Smeep on Fri, 08 Oct 2021 17:13:12 -0700

Additions to es6 - 1

let keyword declares variable let and var are both used to declare variables but differ Features of let: 1. let cannot repeat declaration; var can repeat declaration 2. let will not be mounted under windows. var is mounted under windows as a property under Windows 3. let is a block-level scope. It does not affect variables in the global sc ...

Posted by freebsdntu on Fri, 08 Oct 2021 10:21:37 -0700

Summary of array methods (return value of array methods, whether to change the original array)

1. Summary of array methods Method NameRole and Return Values Is the original array changedconcat()Merge the array and return the merged datanojoin()Converts an array to a string and returns it using a delimiternopop()Delete the last bit and return the deleted datayesshift()Delete the first bit and return the deleted datayesunshift()Add one o ...

Posted by beanman1 on Fri, 08 Oct 2021 09:17:47 -0700

How to upload a package

1. What is a bag? The third-party module in Node.js is also called a package. It is developed by a third-party individual or team and is free for everyone to use 2. Package classification Project package – development dependency package (stored in devdependences directory) – production dependency package (stored in the depend ...

Posted by TeNDoLLA on Fri, 08 Oct 2021 00:13:03 -0700

Permission verification v-permission of six vue custom instruction sets commonly used in front-line large factories

preface Hello, everyone. So far, we have four of the six vue custom commands commonly used in large factories. Let's start today Let's continue to work on the fifth of the six common instructions - v-permission of permission verification. In our daily development, permission verification is an essential link, especially for some application ...

Posted by Mantis_61 on Thu, 07 Oct 2021 21:13:59 -0700

Come and do two front-end interview questions when you are free. You are the next big man (summary)

From the column "front end interview questions" preface ❤️ Author home page: https://hongweblog.blog.csdn.net/ ❤️ Introduction: there is no lofty ideal. Just do what you like~ ❤️ Scan code concerns WeChat official account: > Dianc assistant ❤️ Front end learning roadmap, interview question brushing, collect ...

Posted by magic-eyes on Thu, 07 Oct 2021 13:29:00 -0700

Vue3 official website - tools TypeScript support (Vue CLI)

Vue3 official website - tools (XIX) TypeScript support (Vue CLI) Summary: Vue CLI https://cli.vuejs.org/zh/guide/ 1. TypeScript support Vue CLI Provides built-in TypeScript tool support. Official statement in NPM package With the growth of applications, the static type system can help prevent many potential runtime err ...

Posted by kingssongs on Thu, 07 Oct 2021 13:11:10 -0700

ES6 key knowledge summary

The most important and complex knowledge points of ES6: 1. Class and inheritance 2.promise 3. ES6 modularization (in vue) Knowledge points related to deep copy Object.assgin() method: it can realize the deep copy of the first layer objectSimple and crude deep copy JSON.parse(JSON.stringify(obj)) Complete deep copy: refer to online mater ...

Posted by WindomEarle on Wed, 06 Oct 2021 22:32:36 -0700

Interesting problems encountered in Vue & Vue cli 3.0 project

1. The problem that custom fonts do not work on ios system Background: the blogger recently introduced the third-party font provided by the design into the project during development. It is normal on computers and Android phones, but it does not work on Apple phones. Finally, it is found that ios does not support this font, and the font format ...

Posted by robinhood on Wed, 06 Oct 2021 22:03:30 -0700

Vue common instructions

instructionsdescribe{{}}Interpolation expressionv-textUpdate text content in elementv-htmlUpdate innerHTML in elementv-ifConditionally render elements based on the true and false values of the expression.v-else-ifexpress   v-if   The else if block. Can be called chained.v-elseby   v-if   perhaps   v-else-if   Add e ...

Posted by stewartship on Wed, 06 Oct 2021 21:23:22 -0700