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

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

HTML of Web Design (with case, code and implementation pictures)

HTML 1, HTML structure 1.HTML file structure !DOCTYPE htmlhtml root taghead header label Meta: the tag provides meta information about the pageTitle: title body tag and web content are all in it <!-- html Project structure --> <!DOCTYPE html> <!-- statement html Tell the browser the version of html Ver ...

Posted by patrick99e99 on Wed, 06 Oct 2021 20:31:22 -0700

Draw process of Android custom View

preface The Draw process involves a lot of knowledge and is divided into three parts Draw process of Android custom View (Part 1)Draw ing process of Android custom View (in progress)Draw process of Android custom View (Part 2) The first part analyzes the relevant knowledge of hardware acceleration: Draw ing process of Android custom Vie ...

Posted by cs-web on Wed, 06 Oct 2021 18:20:46 -0700

❗ Summary of three common ways of introducing HTML into CSS ❗

introduction CSS is like a girl's cosmetics for HTML. After CSS modification, web page elements will be more rich and beautiful, but the first need before using CSS is how to add CSS code to HTML code. Here are three common methods; ps: since the author plans to develop to the java back-end in the future, he only understands some of the main ...

Posted by angel1987 on Wed, 06 Oct 2021 13:10:14 -0700

Overview of HTML forms

Learning objectives: (1) Will use the basic structure of the form to make the form page (2) Will use various form elements to implement the registration page (3) Be able to understand the difference between post and get submission methods 1.1 purpose of the form (1) User registration (2) Collect information (3) Information feedback - Quest ...

Posted by hbuchel on Wed, 06 Oct 2021 07:43:32 -0700

shiro verifies shiro's authentication process through the configuration file realm.ini

shiro's core architecture diagram     I didn't understand this diagram when learning shiro before. Later, after learning it systematically, I can have a global control over shiro from this diagram. The top part is the subject body Subject stay shiro Is an interface through which external programs subject Conduct certificat ...

Posted by jrodd32 on Mon, 04 Oct 2021 16:53:34 -0700

23 super practical JS skills you should know

The purpose of this paper is to help you more skillfully use JavaScript language for development. if statement with multiple conditions Put multiple values in an array, and then call the array.   includes   method. // bad 👴 if (x === "abc" || x === "def" || x === "ghi" || x === "jkl") {   //logic } // better 👶 if (["abc", "def", ...

Posted by jeremywesselman on Sat, 02 Oct 2021 17:30:05 -0700

3, Basic knowledge

1. Variable declaration let is used to declare a variable A variable is not promoted, that is, it cannot be used until it is declared The declaration cannot be repeated It has a block level scope and is only valid in the current scope const is used to declare a constant The variable declaration is not promoted, that is, the variable can ...

Posted by gabeanderson on Sat, 02 Oct 2021 12:50:21 -0700

02_ Cross domain problem summary

Cross domain problem summary 1. Why is there a cross domain problem? The reason is that the browser adopts the Same origin policy for security 2. What is homology strategy? 1. Homology strategy is composed of Netscape A well-known security policy is proposed, which is now supported by all JavaScript All browsers will use this strategy. ...

Posted by samafua on Fri, 01 Oct 2021 16:43:03 -0700