Understand the modularity of NgModule~Angular
catalogue
@Class of NgModule() decorator
Common system modules of Angular
1. Example - create and import feature modules
order.module.ts
list.component.ts
app.module.ts
app.component.html
2. Example - inert loading module
order.module
order-routing.module
Configure in the top-level routing AppRoutingModule
app.component.html
im ...
Posted by optimiss on Tue, 23 Nov 2021 01:33:30 -0800
Study notes of Angular Form
The Angular responsive form uses an explicit and immutable way to manage the state of the form at a specific point in time. Every change to the form state will return a new state, which can maintain the integrity of the model when it changes. The responsive form is built around the Observable flow. The input and value of the form are provided t ...
Posted by wgh on Sun, 07 Nov 2021 15:38:33 -0800
Mac Angular project Cordova compiled Android package
Basic steps
1. The first is the official website download Java JDK8 , Java 8, Mac , Download to register with oracle, recommended Shared account
After installation, configure the environment variables and open the command terminal
#Open profile
open .bash_profile
#If you can't open it, create this file
touch .bash_profile
#Remember to ...
Posted by cruzbullit on Sun, 26 Sep 2021 19:53:55 -0700
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