All Questions
494
questions
2
votes
0
answers
447
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
2
answers
561
views
How to append data at a particular position of an Array in Typescript
I am getting this data from backend.
"choices": [ [ "gender", "Gender" ], [ "age", "Age" ], ["relationship", "Relationship Type"], ...
0
votes
1
answer
759
views
Comparing two objects in typescript and do assignment operation in one of the object
I have an Object which looks like below. It is called as selectedFilters.
selectedFilters = [
{columnName: "gender", values: ["Male"]},
{columnName: "approximate_age_band&...
0
votes
1
answer
1k
views
showing multiple images in popup which are already chosen angular
I have a table which has two columns namely file and preview. In the file column I have given the option to choose images. It can select multiple images and I have also written code in such a way that ...
-1
votes
1
answer
855
views
Getting list of ids of enabled checkboxes angular
I have a table in which I have particular column as checkboxes. I have assigned a empty list. So what I want is that I want the ids of the rows of the enabled checkboxes. Say for example if the ...
-1
votes
2
answers
1k
views
Disable and enable two buttons for same condition(while typing in forms) angular
I have a formfield named value. I have a add button. When I click the add button it duplicates the form field. I have written code in such a way that when I enter a value(say 40) in formfield and ...
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 ...
-3
votes
1
answer
2k
views
Transform an object to list of lists in typescript
I am making an API call from Angular 5, the response is coming in below format.
{ "metadata":{
"lastSyncTime":"2000-11-21T16:07:53",
"dataFromDB":...
1
vote
2
answers
660
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
0
answers
46
views
How to work with angular/elements in angular6
I'am trying to learn how to create webComponent using @angular/element in Angular. my folder structure be like.
webApp
--src
--App
--app.module.ts
--app.service.ts
...
0
votes
2
answers
89
views
Convert a JSON to a required format in type script
I am very new to Angualr 6 and type script. From backend API call I am getting data in below format.
> res = [{
> "metadata": {
> "lastGpSyncTime": "2000-...
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
537
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
3
answers
565
views
how to load a component, for each time when the function calls?
I am using angular and I am trying to do reusable actions like bulk updates,bulk deletes,bulk deactivates.
I used all these actions in another component and want to used it as generic method.
Which ...