Come on! Complete Vue components in one article!

By Jeskson Source: front end tavern of dada Overview of Vue components What is a component? Understand the analysis of component objects, the data properties of Vue components, and what is the principle of props to transfer data. Events Communications How to understand parent-child component event communication, and how to deal with non parent ...

Posted by verdrm on Wed, 11 Dec 2019 07:10:37 -0800

The basis of matplotlib -- the use of pyplot

I. Basic Concepts (composition) matplotlib consists of three layers: scripting, artist and backend In the whole matplotlib, all the elements that can be seen in the graph belong to Artist object, that is, all the elements composed of title, axis label, scale, etc. are instances of Artist object (1) if Artist is compared to dr ...

Posted by arsitek on Wed, 11 Dec 2019 01:15:39 -0800

OpenGL ES rendering stereograph

I. understanding The vertex data is stored in the applied buffer, which is passed to the shader by the data bus (if it is a chip shader, the vertex must also be converted into a chip), and finally rendered to the coating by the shader; Two, train of thought 1. Set the coating; 2. Create context; 3. Clear the cache; 4. Create render buffer ...

Posted by MindOverBody on Tue, 10 Dec 2019 14:47:14 -0800

Stream stream operation in Java

Preface In recent internship, I saw some codes of my predecessors in the company, and found that there are many places worth learning. One part of them is to use Stream stream operation for collection, which is very beautiful and convenient. So learn some Stream streams and record them here. What is Stream Stream is a new feature in Java 8, whi ...

Posted by Dark_Archon on Tue, 10 Dec 2019 11:10:17 -0800

The difference between list and tuple

Python has two very similar collection data types, list and tuple. The common definition is array. tuple is defined by parentheses (). After definition, element content cannot be edited (that is, immutable). list is defined by brackets []. Its element content can be edited (that is, changeable). Editing actions include deleting pop(), appendin ...

Posted by arnihr on Tue, 10 Dec 2019 09:18:37 -0800

[original] 002 | take the SpringBoot transaction source code analysis car

Preface If this is the second time you see the teacher, you are coveting my beauty! Like + pay attention again, form habit It doesn't mean anything else. It just needs your camera screen^_^ Special car introduction** This special train is for Spring Boot transaction source code analysis Special vehicle problem Why can transaction be implemente ...

Posted by PC Nerd on Tue, 10 Dec 2019 04:11:21 -0800

typescript learning notes - Interface

####You need to know One of the core principles of TypeScript is to type check the structure of a value. The purpose of an interface is to name types and define contracts or constraints for code or third-party code. The interface between When to use an interface, let's take a look at the following example. function printLabel(labelledObj: { lab ...

Posted by k994519 on Tue, 10 Dec 2019 02:45:43 -0800

pandas knowledge point (data structure)

1.Series Generate one-dimensional array, left index, right value: In [3]: obj = Series([1,2,3,4,5]) In [4]: obj Out[4]: 0 1 1 2 2 3 3 4 4 5 dtype: int64 In [5]: obj.values Out[5]: array([1, 2, 3, 4, 5], dtype=int64) In [6]: obj.index Out[6]: RangeIndex(start=0, stop=5, step=1)   Create an index to mark each data point: In [ ...

Posted by wilburforce on Mon, 09 Dec 2019 19:42:07 -0800

Vue tutorial series - basic syntax v1.0

Catalog helloWorld Bidirectional binding css operation Style operation Binding events Binding event - modifier life cycle v-if show and hide (1) v-show show show and hide (2) v-for rendering list (Key) Array update couputed association properties (calculator properties) watch to listen for changes (listen to array and object need ...

Posted by Kiubbo on Mon, 09 Dec 2019 19:03:14 -0800

Sort by an attribute in the object

If the objects come from the background, the order is disruptedIn other words, the object has multiple properties. In this page, you need to sort by id, and in another page, you need to sort by quantityHere we use the Unicode attribute of characters to sortsort provides related methods <table> <thead> <tr> ...

Posted by minc on Mon, 09 Dec 2019 12:31:39 -0800