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

Angular learning notes (22) form processing verifier

Custom verifier Basic syntax: xxx(params:AbstractControl):{[key:string]}:any{ renturn null; } The type of the incoming parameter is AbstractControl, which is the common parent class of FormGroup, FormControl and FormArray. The incoming parameter declares what object type the validator is used for (the three mentioned above) The return v ...

Posted by suckablesausage on Sun, 05 Apr 2020 15:52:55 -0700

angularjs service Custom Service

order Before learning service, we should understand what the "service" is used for. In fact, this service is just like the "service" in real life, such as: hairdressing service, foot washing service So what are the services of AngularJS? In AngularJS, a service is a function or object that can be used in yo ...

Posted by Tainted Kitten on Sun, 05 Apr 2020 08:26:52 -0700

Basic usage of angular js1.4 lazy loading

First, briefly explain the role of lazy loading: As the name implies, laziness means that resources that need to be loaded are not loaded the first time, but are loaded when the page needs to be used, usually to improve the efficiency of loading the first page. Here is a simple example of the basic use of lazy loading ...

Posted by ddemore on Sat, 04 Apr 2020 18:08:11 -0700

angular picture upload

html code: When the input departs from the change event, the touchUpdateImg method will be called. The file object will be passed in and the imgsmall property will be displayed. The file object will be read through the FileReader object. I used apply to monitor. I didn't use apply to monitor before. When I didn't use ...

Posted by SouThPaw09 on Sat, 04 Apr 2020 10:47:05 -0700

Angular Js pagination display data

We often use paging to display data when we do projects. The principle is very simple: each time we click (next / last) a page, we send a request to the background to obtain relevant JSON data. What I'm demonstrating here is that every time I request, I will pass two parameters (pageSize – data to be displayed on ...

Posted by cash09 on Thu, 02 Apr 2020 05:40:15 -0700

The processing of Android return key in ionic 3 learning

The processing of Android return key in ionic 3 learning About provider Understand the provider of ionic3 provider is a concept defined by ionic itself, similar to our service on angular. There are some similarities and differences between the two. Contrast: Difference technology Commands used file name Route ...

Posted by nabeelkhan on Thu, 26 Mar 2020 09:53:08 -0700

[SLAM] VINS-MONO analysis - vins'estimator process

5.vins_estimator Basically, most of the functions in VINS are under this package, including IMU data processing (front end), initialization (I think it may belong to front end), sliding window (back end), nonlinear optimization (back end), key frame selection (part of content) (front end). When I firs ...

Posted by [Demonoid] on Tue, 03 Mar 2020 01:22:29 -0800