All Questions
106
questions
1
vote
1
answer
917
views
Filtering of Array using filter() works fine, but doesn't change in frontend
component.ts
searchVideo = (search: string) => {
this.query = search;
if(this.videos.length == 0){
this.filteredData = [];
}
if(!this.query){
...
2
votes
0
answers
450
views
How to fix my angular page from flickering on every rest call in settimeout()
I have checked numerous stackoverflow questions and have not found a solution for the way I am trying to achieve things.
Please bare with me as I am an amateur in angular 7.
So what I have done is, I ...
-1
votes
1
answer
1k
views
Disable checkboxes in a table based on formvalues angular
I have a Form field named Value.
I have a add button which duplicates the form.
I have a table button which shows and a back button to hide the table.(Forget abt the delete button)
The table has a ...
0
votes
1
answer
334
views
Angular Interceptor unable to calculate correct time of API response, when there is multiple request at the same time
Steps to reproduce the issue:
The First API call response is coming in 600ms.
within the first API call response time another 4 API request is going to the interceptor and this process takes another ...
1
vote
2
answers
662
views
@input is not working for Api response value- angular
I am using two components parent component and child component and I want to pass the value from parent to child and I used @input method
------------------------------When I hardcoded the value-------...
0
votes
1
answer
597
views
How to use ngx-countdown-timer for time h:m:s only?
How can i use ngx-countdown-timer for time h:m:s only?
<div *ngFor="let i of dummy">
<h1 style="margin-left: 17%; color:#df3b3b">
<countdown-timer [end]="i.times"></...
0
votes
1
answer
540
views
how to get the current [pageSizeOptions] into component on click of other Button(not Pagination buttons)
I am having a scenario where I want to get the current pageSizeOptions like 20 to display the data where [pageSizeOptions] = {10,20,30,40,50};
The user has already selected the pageSizeOption as 20 ...
0
votes
0
answers
42
views
How to use formCOntrolName for below data
I am using ngModel method.. Now I want to create a form using formControlName for this data.
data = {
"id": "a11",
"name": "angel",
"Profiles": [
{
"id": "p1",
...
0
votes
1
answer
15
views
How to remove the list from an array using angular +
I am using the checkbox to get the list of
below is the data:
data:[{ email: "email1" }, { email: "email2" }, { email: "email3" }, { email: 'email4' }]
html
<table>
<thead>
<...
0
votes
1
answer
565
views
How to add the values of input box using typescript
I want to add the values of apple,orange and mango , then want to get the value in total.
below is the code which I tried.
<div class="row col-12 " ngModelGroup="cntMap">
<div class="...
6
votes
1
answer
6k
views
I am unable to customize the style property with mat-grid-tile of angular material
I am trying to create 6 tiles in each row and each tile consists of amount at the top left, + symbol at the top right, below Charity name, then below date at the extreme left and so on. But everything ...
0
votes
1
answer
2k
views
How to get data event click in angular google chart-angular 2+
I used the google charts in my angular project dashboard.
By reading the document: https://github.com/FERNman/angular-google-charts , I used the below code for getting the event(which should contain ...
2
votes
0
answers
184
views
unable to create connection between nodes in Jsplumb
I have created the flowchart using jsplumb free angular version parent to parent node connection is working but if i added the child nodes inside the parent then i can make child to parent node ...
-3
votes
1
answer
501
views
how to calculate the duration using a date - angular 2+
Api ,
{
data:{
"duration": 12,
"startDate": "27-01-2020 16:09"
}
}
I am using angular 2+..I api, duration is 12( in month) and given the startdate...
Task:-
I have to calculate ...
0
votes
1
answer
828
views
Why ReplaySubject returns all values?
I have service:
private publishSubscribeSubject_: ReplaySubject<any> = new ReplaySubject();
private emiter_: Observable<any>;
public publish(channel: EventsChannels, event: any) {
...