is similar to the following
<app-list>
<div>{{"item"}}</div>
</app-list>
is similar to the following
<app-list>
<div>{{"item"}}</div>
</app-list>
answer your own questions
using components:
</ng-template>
</li>
</ul>
Previous: Why did the form submission of andesign report an error with validateFields?
Next: All directories under the windows folder have two dots?
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...
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...
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? ...
app.component.ts import { Component } from @angular core ; import { AppService } from . service app.service ; @Component({ selector: app-root , templateUrl: . app.component.html , styleUrls: [ . app.component.css ] }) export clas...
import { Component, ElementRef, OnInit, ViewChild } from @angular core ; import { Router } from @angular router ; import { NzModalService } from ng-zorro-antd ; import { NgForm } from @angular forms ; @Component({ selector: list , tem...
I want to use Directive as a public instruction. When the mouse clicks on the target element, the content of a component is displayed, and the mouse leaves and disappears. currently I insert the component with ViewContainerRef when I click. but the in...
previous operation Asynchronous request later in angular5, how can a process like this wait for the asynchronous request to finish executing before performing the next operation? ...
take this Baidu as an example, when you click "Page ", there is a bottom border at the bottom, which is the effect of the selected highlighted state. I can t do it well after looking for many examples on the Internet. I m a little stupid, so I hop...
three initializations 1. Initialize 2 when defining. Initialize 3 in the constructor What is the difference between initializing in ngOnInit? Under what circumstances do you usually use which initialization? What is the order in which page render...