Angular Learning 2 - Modify Templates, Use Classes, Bind Two Ways
1. You canApp.component.tsIn the file
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
If you delete the templateUrl and styleUrls below, you can delete the corresponding files. If you do not delete these two sentences, you will get an error when deleting the files.
Become:
@Co ...
Posted by almystersv on Wed, 01 Jul 2020 09:23:03 -0700
Design and implementation of Data Grid based on Angular Material
Since the Extensions component library was released, Data Grid has become the most used and consulted component. At the beginning, the design of Data Grid was very simple. After some refactoring, the quality of components has been improved. Extensions component library: https://github.com/ng-matero/extensions Data Grid example: https://ng- ...
Posted by swr on Sun, 28 Jun 2020 21:05:42 -0700
Write VIO from scratch
Here is a summary of the second job from zero-handwriting VIO:
Homework title:
1 Emulation Code Parsing
Emulation code address:https://github.com/HeYijia/vio_data_simulation
In addition to the generic version of the simulation code, the github repository also provides the ROS version of the simulation ...
Posted by twistedmando on Wed, 17 Jun 2020 09:34:00 -0700
UAV021: STM32F4 realizes IIC communication and reads 10DOF data (six axis sensor MPU6050 + magnetometer HMC5883 + barometer MS5611)
order
Words written in the front: This article is long, read patiently
UAV021 (I) This paper implements STM32F429 porting FreeRTOS system, on the basis of which IIC communication is realized and 10DOF data is read. In flight control, it refers to three-axis acceleration, three-axis angular velocity, t ...
Posted by jwrightnisha on Sat, 13 Jun 2020 19:30:00 -0700
How to run a front-end angular project
1. Install first node.js
Go to the official website to download and install:
https://nodejs.org/en/
2. Download pkg file and install it on mac
3. After the installation, verify whether it is successful at the terminal
$ npm -v
6.14.4
$ node -v
v12.16.3
4. Install angular console
npm install -g @angular/cli
This installs the comma ...
Posted by the max on Fri, 22 May 2020 07:47:19 -0700
Mobile Development: The Ionic Framework for Registration and Login
Because the project is front-end and back-end separate development, the ionic framework is used on the mobile side and the SpringBoot framework is used on the back-end API interface.Backend implementations of registration and login can refer to my article: Backend development: SpringBoot implements registration and login functions .The ionic fr ...
Posted by gladiator83x on Tue, 19 May 2020 18:03:01 -0700
Introduction and learning notes of Angular
Angular
The performance of Google's open source JavaScript library is much higher than that of the previous version. It uses Typescript and new mode for development, so from the second version, the number of people has suddenly dropped dramatically.
Technology: basic use of typescript, es6
Typescript is a superset of JavaScript. Both JavaScr ...
Posted by gokhul on Wed, 06 May 2020 05:53:50 -0700
Notes on ES7 and ES8
ES7 has two more features than ES6
1.Array.prototype.includes
2. Exponent operator
ES8 new proposal:
1.Object.values / Object.entries
2. String padding
3.Object.getOwnPropertyDescriptors
4. Trailing commas in function parameter list and call
5. Asynchronous functions
Detailed explanation:
1.A ...
Posted by usawh on Mon, 04 May 2020 01:05:12 -0700
Arrange learning notes of angular4 route usage of angular4
This chapter talks about the routing of angular
Let's talk about how to introduce angular routing. In the beginning, the new angular project has its routing configured for you, but it depends on app.module.ts
1. First, the routing module should be introduced at the top
import {RouterModule, Routes} from '@angular/ro ...
Posted by g.grillo on Mon, 20 Apr 2020 21:36:46 -0700
WebSocket learning summary
This article casually wrote about my own understanding of websocket communication protocol, Demo played on two frameworks, and then stepped on several pits and unfilled pits (welcome to comment and guide).
What is WebSocket? Why use WebSocket?
WebSocket is a kind of network communication protocol.
When it comes to network communication protoc ...
Posted by redmonkey on Fri, 17 Apr 2020 02:42:03 -0700