Questions tagged as 'angular'

1
answer

"Click" does not work in angle

Follow the codes. While hiding the menu, it does not re-open with the "click" function in nav-burger menu.component: section class="hero outer is-primary is-fullheight animated slideInLeft" [ngClass]="{'is-hidden' : !menu.opened}"> me...
asked by 17.02.2018 / 01:36
1
answer

Access function of another Component (Angular5)

Suppose in my componentA I have a list of products. In my componentB I have a modal that registers my products. When registering a product, I want componentB to call a componentA function to update the product list .. How can I do this? I've...
asked by 26.02.2018 / 17:34
1
answer

Generating an Angular PDF Report

Hello, I would like to generate PDF reports using Angular consuming firebase data. Is it possible to report multiple pages from HTML or using TypeScript? Please help me     
asked by 13.03.2018 / 15:13
1
answer

How To Catch The Variable Of Another Component

I have the following situation. utils-nav-user.component.html <nav class="navbar fixed-bottom navbar-expand-lg navbar-dark bg-dark"> <a class="navbar-brand text-white">ESC - Sistema De Controle De Pizzaria - </a> <a...
asked by 15.02.2018 / 03:00
1
answer

How to work with Arrays using Angular 5 in the console log?

I'm trying to implement a Multiselect dynamic dropdown in Angular, it's how it's selecting state according to cities, if I select eg PE in the first dropdown list it will automatically return me in the dropdown list to list all cities of Pernamb...
asked by 05.02.2018 / 10:46
1
answer

Err Msg: Can not read property 'thisCompilation' of undefined

I'm using Angular for a project and Visual Studio Code when I run the command ng serve , it returns me the following error:    NG Live Development Server is listening on localhost: 4200, open your browser on link ** 0% compiling Can...
asked by 04.03.2018 / 00:23
1
answer

Change only one checkbox

How do I change just the checkbox I'm clicking? checked:boolean=false; ck() { if(this.checked === false){ this.checked=true; }else{ this.checked=false; } <ion-item> <ion-label class="title" [clas...
asked by 03.03.2018 / 15:47
1
answer

How to work with arrays in Angular 5

I'm picking up the list like this: listarTodosEstados() { return this.http.get<any[]>('${this.estadosUrl}'); } This is my component: pesquisarEstados() { this.cidadesService.listarTodosEstados() .subscribe(dados =>...
asked by 02.02.2018 / 16:50
1
answer

How to create components in the Angular?

Look at the project structure Thepageestilo-cadastro.component.htmlisinthisformasyoucanseebelow.<divclass="container"> <form #f="ngForm" autocomplete="off" (ngSubmit)="salvar(f)"> <div class="ui-g">...
asked by 22.01.2018 / 13:10
1
answer

How to perform a refresh on the Angular PrimeNg automatic Dropdown?

Get a Dropdown on a registration form as you can see in the figure below in the Style field; Ifyoustoptoobserveintherightcornerofthefieldhasanicon,whenclickingontheiconitshowsasmallformthatIcallquickregisterofstyleseetheimagebelow; Thereis...
asked by 22.01.2018 / 15:25