Basic knowledge of JS (covering basic interview questions)

Summarize some basic front-end knowledge. Some knowledge may be asked during the front-end interview, so making a record will also help others check. If there are any questions, you can point them out and actively correct them. Variable types and calculations What are the types of typeof in JS console.log(typeof undefined); //undefi ...

Posted by AMV on Fri, 20 May 2022 02:05:46 +0300

VUE conditional rendering

catalogue 1. v-if 1.1 template 1.2 v-else 1.3 v-else-if 1.4 manage reusable elements with key 2.v-show 3.v-if vs v-show 4. Use V-IF with v-show 1. v-if The v-if instruction is used to render a piece of content conditionally. This content will only be rendered when the expression of the instruction returns the truth value. < ...

Posted by PerfecTiion on Fri, 20 May 2022 01:08:21 +0300

Webpack custom plug-in writing

When writing a custom plug-in, you need to know that the webpack plug-in consists of the following: A JavaScript named function or JavaScript class.Define an apply method on the prototype of the plug-in function.Specify an event hook bound to the webpack itself.Process specific data for webpack internal instances.Call the callback provided by ...

Posted by Smasher on Fri, 20 May 2022 00:03:21 +0300

[R1-2]this,call,apply

1. this Except for the less commonly used with and eval, the pointers of this are roughly divided into the following four types: Use as a method of an object Called as a normal function Constructor use Function.prototype.call and Function.prototype.apply calls 1.1 Method calls as objects When a function is called as a method of an object, thi ...

Posted by Rob the R on Thu, 19 May 2022 17:36:13 +0300

Vue Basics: template syntax

1. Template syntax 1.1 overview of template syntax Vue.js uses an HTML based template syntax that allows developers to declaratively bind the DOM to the data of the underlying Vue instance. All Vue JS templates are legal HTML, so they can be parsed by standard browsers and HTML parsers. In the underlying implementation, Vue compiles the templat ...

Posted by imagenesis on Thu, 19 May 2022 06:55:08 +0300

Big front-end advanced - isomorphic application

Overview In the front-end field, with the popularity of Vue, React, Angular and other frameworks, front-end engineering and modularization have become the mainstream technical solutions. The SPA single-page application built by this type of framework has the advantages of good user experience, good rendering performance, and high maintainabilit ...

Posted by PhantomCode on Thu, 19 May 2022 03:51:44 +0300

Standardize code naming to make your Dart code more pleasant to read

Click here to learn about the "Flutter Introduction and Combat" column, continuous update and systematic learning! foreword Good coding style is very important. Keeping consistent naming can make the code reading experience better and team collaboration more efficient. This article introduces the officially recommended naming conven ...

Posted by MBrody on Thu, 19 May 2022 02:17:31 +0300

Detailed notes on learning html+css by yourself

catalogue Common symbols: 6 Ordered list: ol > Li 6 Unordered list: UL > Li 7 Custom list: DL > DT + DD 7 Picture label: 7 Table: 8 Form from: 8 CSS: 9 CSS priority: 9 CSS selector 10 Pseudo class selector: 10 CSS text properties 11 1. Font size 11 2. Color 11 3. Bold & inclined 11 4. Horizontal and vertical center ...

Posted by mustatin on Thu, 19 May 2022 01:27:55 +0300

Use of deconstruction in js (variable deconstruction, parameter deconstruction)

Deconstruction in JS **Statement: * * article taken from Crazy technology house Front end stack Sunny trees This article is a learning record based on the contents of predecessors. Deconstruction and use of variables The deconstruction of variables is mainly used to read, access and operate some attributes or values. Here are five common var ...

Posted by mark_18 on Wed, 18 May 2022 23:15:41 +0300

JavaWeb - Request&Response notes

Request Get request data I Request inheritance system RequestFacade ------> HttpServletRequest ------> ServletRequest ServletRequest: the root interface of the request object provided by Java HttpServletRequest: the request object interface encapsulated by HTTP protocol provided by Java RequestFacade: implementation class defined by ...

Posted by odtaa on Wed, 18 May 2022 21:50:03 +0300