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); } ...
I wrote the method in the login controller: protected function redirectTo() { return URL::previous(); } but this method can only jump to login pages accessed through web; if you use ajax to access the login page, jump to the home pag...
the style triggered by the drop-down, or always a circle, needs to be disabled, leaving only the springback effect . ...
<div contenteditable="true"> < div> var selection = document.getSelection(), range = selection.getRangeAt(0); var html = <blockquote> + range + < blockquote> ; range.deleteContents(); el.innerHTML =...
elmentui paging component pagination encountered the problem, that is, the initial current-page setting is invalid, after entering the page has been on page 1, in fact, I set to jump to page 2 by default. (. The details are as follows: <div class=&...
requirements: use the nodejs-sdk of the cloud to obtain the list data information in it, and then display it on the page. I just saw the document link description which of his friends in the cloud in the requirements document wrote a demo. I have ...