drawio.io secondary development pit record

drawio.io secondary development tutorial Secondary development basic data Import ide Add local and oss storage Pure front-end function Introduction to various modification positions Modify code Prepare environment git clone https://github.com/jgraph/drawio.git cd drawid-dev\src\main\webapp python -m http.server 8081 The project u ...

Posted by holladb on Fri, 01 Oct 2021 20:27:11 +0200

Vue bidirectional binding

Vue bidirectional binding 5, Bidirectional binding 1. What is bidirectional data binding? Vue.js is an MV VM framework, that is, two-way data binding, that is, when the data changes, the view changes, and when the view changes, the data changes synchronously. This is the essence of vue.js.    it is worth noting that what we cal ...

Posted by jamiefoxx on Fri, 01 Oct 2021 20:07:21 +0200

vue instance initialization sequence

vue data initialization The logic of vue's underlying response is controlled by the Object.defineProperty() function. To begin with, the point of knowledge of this method is: 1. Object.defineProperty() 1.1 Object Definition and Assignment The commonly used definition and assignment method obj.prop =value or obj['prop']=value let obj = {} o ...

Posted by gasxtreme on Fri, 01 Oct 2021 18:29:56 +0200

Vue daily summary: calculating attributes and monitoring

1, Calculated attribute - calculated 1. Definition: the attribute to be used does not exist and must be calculated from the existing attribute. Computed: {}, define the calculated attribute in the computed object. 2. Call: use {{method name}} in the page to display the result of the calculation. 3. Principle: the bottom layer uses getter s ...

Posted by Johnm on Fri, 01 Oct 2021 02:32:40 +0200

flex flexible box layout (detailed)

Elastic box model 1. Telescopic container display Flex is the abbreviation of Flexible Box, meaning "flexible layout", which is used to provide maximum flexibility for box model. Any container can be specified as a flex layout. Elements with Flex layout are called Flex containers, or "containers" for short. All its child ...

Posted by DarkShadowWing on Thu, 30 Sep 2021 23:03:35 +0200

Dynamic programming, backtracking and greedy algorithm to solve the change problem (minimum number of sheets payment problem) (JavaScript Implementation)

1. Background requirements: We have three kinds of coins with different denominations, 11 yuan, 5 yuan and 1 yuan (there must be). We have to pay 15 yuan (integer). How many coins do we need at least? At least 3 coins (3 5 yuan coins). 2. Realization of dynamic programming This problem should be fully suitable for dynamic programming ...

Posted by kousalya on Thu, 30 Sep 2021 19:54:50 +0200

Basic and Reference Data Types in js

There are two types of data in js, basic data type and reference data type. Basic data types NumberStringBooleanUndefinedNullSymbol (new to ES6)Reference data type ObjectArrayFunctionRegexp How to determine the data type: 1. The typeof is fine with the basic data type judgment, but when it comes to referenced data types (e.g. Array), it ...

Posted by Toadums on Thu, 30 Sep 2021 18:38:45 +0200

Three stage CGB2105-Day16

CGB2105-Day16 Shining sun 2021-08-10 11:53:08 3007 Category column: 2105 2105 The column contains this content ...

Posted by Cameri on Wed, 29 Sep 2021 02:48:06 +0200

JavaScript (crazy God learning notes)

JavaScript 1. General Ant Design History of JavaScript JavaScript is the most popular scripting language The language styles of Java and JavaScript are very different, just to rub the heat A qualified back-end person must be proficient in JavaScript 2. Quick start 2.1 importing JavaScript Internal labelExternal introduction <! ...

Posted by steveonly20 on Wed, 29 Sep 2021 02:25:36 +0200

Front end beginner's notes: JavaScript functions

JavaScript functions Functions in JavaScript: 1) Encapsulate functions 2) Can be called directly 3) The reuse rate of code is improved 1. Function declaration Function declaration function Function name(parameter list ){ //Function body } Function expression var Function name = function(parameter list ){ //Function body } Function d ...

Posted by brewmiser on Mon, 27 Sep 2021 15:58:34 +0200