recently in learning angular, it should be said that angular2, because he learned vue, before coming into contact with angular, always compares the relationship between the two in the learning process, contrasts with each other to learn and use, using tw...
when you select January, you want the page replacement data to be January volunteer data, but after clicking, the browser log can display the January data, but the page data is not changed. log html page <ion-header> <ion-toolbar col...
primeNG uses chart.js as a chart, and a separate chart.js can use a mixed chart. I would like to ask primeNG how to use a mixed chart. template < p-chart type= "scatter " [data] = "data " [options] = "options " > < p-chart > I write as chart.j...
this problem is relatively troublesome, but the organization I wrote is still very clear. 1. Using node.js server, a small example of search product is made. The structure is as follows: 2.: 3.: 4.: 5.product.service.ts : 6.search.component.ts :pr...
excuse me, when can I use loadChildren to route? On the Internet, it is said that the loading sub-module, in the project, what is the sub-module ah. How is this "sub-module " design specification defined? do you have any examples for reference.? ...
I also installed chart,chart.js using primeng, but mistakenly reported that chart is not defined ...
I want to upload video files like uploading pictures by TinyMCE in a rich text editor, but I can t find the relevant api. Do you guys have any ideas? ...
http: localhost:4200 login git: https: github.com yyccQQu 04. ...
original text: import { Component, Inject, ReflectiveInjector } from "@angular core"; import { OverlayContainer } from "@angular material"; import { environment } from ".. environments environment"; @Component({ selecto...
first of all, the custom file drag.directive.ts import { Directive, Input, ElementRef, Renderer2, HostListener } from "@angular core"; import { DragDropService } from ".. drag-drop.service"; @Directive({ selector: &q...
using Rxjs to request data in Angular4.x, it is found that multiple requests will result in 1 request times, which will greatly affect performance. At present, we can only use the most clumsy order to declare the corresponding Subscription objects one b...
all kinds of errors are reported, especially speechless! ~ ask the boss for help and solve it. Thank you git: https: github.com yyccQQu 04. dev branch warning Error running install script for optional dependency: "E: g2 999...
import * as express from express import {Server} from ws const app = express() export class Product { constructor( public id: number, public title: string, public price: number, public rating: number, ...
the time selected by the datepicker tag of angular material is month, day and year. I hope that format will become day, month and year. Official documents are not feasible at all, and official cases on github cannot be done at all, or I don t understand...
mat-datepicker read the document through Google Translation and did not find out how to choose only the year and year. Does anyone know how to use it? if anyone does, by the way, tell me how to format MM YYYY into YYYY MM,. I reported all kinds of errors...
after angular4 is published to the public network, the login URL reports an error No provider for t! There is no problem with local aot compilation. You can run ....
now has the following scenario, where there are two attributes in Component, and the code is as follows: OnInit yearList: Observable<string[]>; 0yearListyearList0year year: BehaviorSubject<string> = new BehaviorSubject( 0 ); ngO...
to use a rich text editor in the project, I found Quill I introduced into app after npm install ng2-quill-editor. import { QuillEditorModule } from ng2-quill-editor ; imports: [ QuillEditorModule, ], an error will be reported at thi...
I want to see how to close the router page or return to the previous router page after the user enters the page. A prompt box appears when the user clicks OK and then closes or returns. Can bosses do this? ...
individually, the class name has changed and the position has been added in the tag, such as ...
for example, the title is a cached resource, how to actually operate it? <link rel="stylesheet" href="build css ui-box.css"> <script src="common comm.js" type="text javascript" charset="utf-8"&...
I initially asked for the login interface. After the login was successful, I asked for the data interface and returned not logged in. so I separate the login API from the data interface and put it in a separate html file, and then test and find that th...
JS how to determine whether a file or a folder is dragged in. Dragging a file or folder finds that ev.dataTransfer.files is an array of only one element, and how to determine whether a file or a folder is dragged in. The current practice is to find that ...
Array ( [error_code] => 0 [error_msg] => SUCCESS [log_id] => 7.4795696152086E+17 [timestamp] => 1546152086 [cached] => 0 [result] => Array ( [face_num] => 1 [face_list] => Ar...
<html> <body> <table> <tr> <td id="a">1< td> <td>2< td> <td>3< td> <td>4< td> <td>5< td> < tr> < table> <body> <script src= http: 172.29....