python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
could not get query Selector inside <ng-template> in angular
I have table component.
I want to add a property to a element when [draggable]="true".
parent class
<ngx-custom-table [value]="users" [draggable]="true">
...
hanushi
Votes: 0
Answers: 0
Adding Dynamic Content inside <ng-template>
<ng-template #reuse>
<div>Hello World</div>
</ng-template>
<ng-container [ngTemplateOutlet]="reuse"></ng-container>
<ng-container [ngTemplateOutle...
Ramya Balasubramanian
Votes: 0
Answers: 2
How to pass multiple ng-templates to ng-content?
I am using Swiper's swiper component and the way you can display slides is using ng templates with SwiperSlide directive on it. I want to make my swiper component reusable and use that component inste...
vazha abdushelishvili
Votes: 0
Answers: 0
Angular structural directive with CSS selector
I am creating a custom dropdown menu.
The menu contains some items and should remain open when a user clicks on any of these items.
To check if the user clicks inside the dropdown menu I check via win...
Erik
Votes: 0
Answers: 1