I implemented a simple navigation bar hover effect through instructions, and the effect is as follows: you can see that the mouseLeave event is triggered when the pointer is on the dash line, asking how to stop it. nav-hover.directive.ts : @D...
< H2 > 1. Environment: < H2 > Project: project framework Angular5.0.0, scaffolding: Angular-CLI 1.5.0 NG-ZORRO UI framework: 0.6.x. personal computer: i5, 8g, 256g solid state < H2 > 2. Detailed description < H2 > (1) after the deployment of the...
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.? ...
1. Use angular HttpClient to request backend data to get the title. Setting the title through @ angular platform Title service has no effect. Please give me some advice and how to solve it? 2. The code snippet is as follows. Angular version: 5.2.0, th...
I wrote a demo, for learning with angular5 . The code was written smoothly, but in the end, the deployment was not smooth. first of all, I used ng serve to start the angular server on the server, and then accessed 4200 remotely, but the access fai...
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? ...
ionic start-- pro-id * Using my-sweet-app for name. ? What starter would you like to use: tutorial tick Creating directory. My-sweet-app-fail! Downloading and extracting tutorial starter-failed! Error: read ECONNRESET at _errnoException (util...
the code is as follows: destroyed the html structure, resulting in style errors, how can I modify so that the outermost div does not occupy the html tag? ...
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...
such as the title, normally, you should change the code and save the page. It should be updated and deployed again. It is normal all the time. After the boss has done it, it cannot be updated automatically. It is too troublesome to ng serve, every time a...
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...
1.Angular5 animation has no effect after setting animate transition time 2. Code: import { Component } from @angular core ; import { OverlayContainer } from @angular cdk overlay ; import { trigger, state, transition, style, animate, keyframes } ...
Why ie is different from the default selection of Google browser s select box. It is also option tag * ngFor circular data. But ie is the first one selected by default, and Google browser does not display it by default. How to make ie not show sele...
ionic3angular5ionic3alertControllerionic3es6alertconfirm ionic1+angularjs1+JavaScriptalertconfirmfunctionoptionionic1$popupoptions ...
loadchidren settings.module.ts routing error access http: localhost:4200 settings Error: Component SettingsComponent is not part of any NgModule or the module has not been imported into your module. error app-routing.module.ts (ma...
Does Angular have a useful draggable tree table control? Ask for recommendation. For example, treegrid for GXT, extjs, easyui. with a node drag event and a right-click Context Memu event. I have searched all kinds of control libraries on the Internet a...
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? ...
I want to do a form check so that it can work: flag: Cannot read property invalid of undefined at Object.eval [as updateDirectives] (EditMemberComponent.html:9) I judge that it is the reason why the attributes of name are not automatically gen...
export class RepeatPasswordDirective implements Validator,OnChanges { * * check method @ param c @ returns {{[p: string]: any}} * validate (c: AbstractControl): {[p: string]: any} { return verifyPassword(c,this.repeatPassword.control); } ...
problem description how do I delete data at a specific location in an array in mongodb? the entity of an aircraft like this: number:B-xxxx, components:[fuselage,wings,engines,landinggears] I now want to delete the third data in components, but I c...
I have encountered some bottlenecks recently. I always feel that I don t know how to improve my level. I want to see what level you think the three-year php should have ...
how can I tell whether the value of us_id in this json array is equal to 7. Whether the value in this includes id equals 7. Can there be no cycle? Just determine whether the value in this field is equal to 7. ...
laravel version: 5.5.36 redis version: 3.06 when I refer to predis in a laravel project, I have no problem in the local windows environment, but I have a problem in the production environment. my code is as follows: public function getPhoneCode(...
when I look at the code: If debug isn t set in LS, and we re in Electron, try to load $DEBUG if (!r && typeof process !== undefined && env in process) { r = process.env.DEBUG; } how do you understand this sentence?...