Common components of Bootstrap framework

1 component Foundation 1.1 what are components Component is an abstract concept and a simple encapsulation of data and methods. In terms of object-oriented thinking, some classes that meet certain specifications are combined to form components, which can provide users with some specific functions. 1.2 advantages of components Component ...

Added by Boxerman on Sat, 15 Jan 2022 21:41:21 +0200

Closure and this point

How to generate closures? There are two special cases of scope application Function is passed as an argumentFunction is returned as a return value // Function as return value function create() { const a = 100 return function () { console.log(a) } } const fn = create() const a = 200 fn() // 100 // Functions are passed as ...

Added by shivers on Sat, 15 Jan 2022 21:12:43 +0200

web development technology development, pre-school development from scratch

ArrayList overview Hello, everyone. Today, let's introduce ArrayList. When it comes to ArrayList, many people know that its bottom layer is implemented by array, and the thread is unsafe. When it comes to its characteristics, they will say that it is fast to find and slow to add and delete, because everyone recites the interview questions. Let ...

Added by adam_gardner on Sat, 15 Jan 2022 19:12:16 +0200

web development documents, floating properties of CSS

Relative positioning The position of the element is calculated relative to its original position. position:relative; By default, it refers to the original point of the parent, which is the original point. It is positioned with top, right, bottom and left. <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <ti ...

Added by Josh1billion on Sat, 15 Jan 2022 17:16:00 +0200

Summary of cross domain problems and Solutions

-What is cross domain? The browser's non homology is cross domain. That is, the two pages have different protocol s or port s or host s -Why do cross domain problems occur? Due to the browser's homology policy, the browser will reject cross domain requests. *Note: strictly speaking, the browser does not reject all cross domain requests. In f ...

Added by luvburn on Sat, 15 Jan 2022 15:52:56 +0200

Python falsk get form data (front-end data)

This article will explain to you a form data acquisition written by Falsk - data acquisition preparation: python3.7.3falsk2.0.1 (latest version) 1, request method Request is an object, whether Python or other, although the name of the object request may be different (it may be called HttpRequest in other languages). When the client browser ...

Added by wild_dog on Sat, 15 Jan 2022 12:04:02 +0200

11. Record and summary of Xiaomi's interview questions

Self introduction and internship program Keep alive principle nextTick What is nextTick? A deferred callback is performed after the end of the next DOM update cycle. Use this method immediately after modifying the data to get the updated dom The main function of nextTick is to let the callback function act on the updated DOM after upd ...

Added by s_r_elliott on Sat, 15 Jan 2022 09:39:32 +0200

web front end development course training, JavaScript if keyword

The canvas element is used to draw graphics on a web page. What is canvas? HTML5 elements are used for drawing graphics and are completed by scripts (usually JavaScript) Labels are just graphics containers, and you must use scripts to draw graphics. You can use canvas to draw paths, boxes, circles, characters and add images in many ways. B ...

Added by Ton Wibier on Sat, 15 Jan 2022 08:49:09 +0200

web front end development specification, list tags of HTML common tags

As I mentioned earlier, each element in the document tree is just a rectangular box. These boxes have a background layer, which can be completely transparent or other colors, or a picture. This background layer is controlled by 8 CSS attributes (plus 1 abbreviated attribute). background-color The background color property sets the background ...

Added by Pottsy on Sat, 15 Jan 2022 07:03:13 +0200

[ten thousand words summary] webpack can only basic configuration, but not! Come and pack the actual case configuration together

🛴 preface stay The previous two articles In, we explained the introduction of webpack. However, after the introduction knowledge is understood, it must be applied to specific cases. Therefore, in the following article, we will lead you to learn about some actual case configurations of webpack, including the packaging configuration of t ...

Added by p.utsav on Sat, 15 Jan 2022 06:23:01 +0200