Questions tagged as 'angular'

0
answers

When rendering an application in Angular 6 the layout is breaking

I did a job with Angular 6 in a company and I did not move anymore. I went back to studying to really learn and started with a project that I got on the internet here . Well, I followed the tutorial completely and when I run the application, th...
asked by 28.11.2018 / 13:27
1
answer

How to make subitems with the SideNav component of the Angular Material Design

I made a menu using Angle Material Design's SideNav like this: <mat-sidenav-container class="sidenav-container"> <mat-sidenav #drawer class="sidenav" fixedInViewport="true" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigatio...
asked by 23.11.2018 / 16:22
0
answers

Filter items by category with angle 2+

I'm new to the angle, and I need to do a filtering. I have a list of programs and I want to filter these programs through a menu. For example, in the menu will have the categories: football, blogs, sports ... When I click on the category "footba...
asked by 22.11.2018 / 04:41
0
answers

For that checks to see if all the elements of an array are equal to another

I need to make a repeat structure that traverses "N" arrays (attribute) and returns an error message if the arrays have equal elements (idoty attribute). I tried something like: for(let i=0;i<this.variacaoForm.value.variacoes.length;i+...
asked by 20.11.2018 / 17:46
0
answers

MQTT ngx-mqtt angular / ionic

How can I have two connections open with distinct broker in the ionic, angular using ngx-mqtt or another lib.     
asked by 20.11.2018 / 14:56
0
answers

metisMenu is not working - Angular 6

Good afternoon, I am in doubt about angular, my menu is containing a class with main-menu and metismenu, but his collapse is not working. could someone give me a hint how to perform this functionality?     
asked by 19.11.2018 / 17:09
0
answers

Type Number in option html

I need to set an option to number (just like in input type="number"). Because I need the final form (ReactiveForms type) to be sent a number for that value and not a string. I have tried to transform in many ways, but none of them right. Here...
asked by 19.11.2018 / 19:12
0
answers

d3.js LineGenerator method is not accepting my data array

Esotu trying to generate a linechart from data that I will receive dynamically, the problem is that this data arrives with a value of typo "any", and should be converted to number to be accepted by the line generator but, even doing the cast, me...
asked by 26.11.2018 / 20:16
1
answer

Angular4: How to retrieve values in Response Headers

I have a WebService that returns a PDF file (byte []). I am returning the file name in the header of the response. In Chrome I can see the 'Response Headers' values and see that all headers are there, including the file name. However, when I...
asked by 26.11.2018 / 19:33
2
answers

Read data from Firebase realtime databse

I'm developing an angled application, and I need to read the data written to my realtime database from firebase. How would I do to read all the data that is inside object 9 for example? I need to read this data and write it to variables...
asked by 16.11.2018 / 20:19