Category "angular"

ng2-pdf-viewer - does not display automatic pdf

I have an angular application 8 that I receive a pdf file from the API. In the angle view, I took the pdf file as a blob and converted it into a FileReader to u

How to pass data from parent to child in template driven form

My problem is with Template Driven Forms. I have two components (parent and child) and I want to pass default values for controls inside child component. In chi

Property 'dateComponentFramework' does not exist on type 'GridOptions

I am trying to use some code in Angular 13 when using AG Grid Version 27.2.1 and i am trying to assign some Date Option to my grid.In AG Gris 25.01 this was stl

File upload in a nested json object having multipart file in Angular 6

Hi I am facing problem in uploading file in a object(body:DataSet) while submitting. My classes are as below: export class DataSet implements IDataSet { Id?: nu

Cancel File Upload: Multer, MongoDB

I can't seem to find any up-to-date answers on how to cancel a file upload using Mongo, NodeJS & Angular. I've only come across some tuttorials on how to de

Sending Multiple Post Request in Parallel on Angular

I have to Send Multiple Post request with same URL but different payload and to check status of each request, if its failed or success. and then i want to check

BindCallback observable never get next value, while manual bind works

using google.maps.places.PlacesService and the getDetails query the method signature is (method) google.maps.places.PlacesService.getDetails( request: goo

Extending Angular DatePipe errors in Angular 11, worked in Angular 10

Originally, I had a simple extension to the DatePipe to transform a date value from our standard (YYYYMMDD format) so that the DatePipe in Angular could then us

How to make a method that finds every object by id in angular

Please help, I want to make a method findChildByIdInShop(shop:any, childId:string) where the shop is any JSON main node that has children with Ids. Simply, how

How to read a csv file sychonously in angular 7 [duplicate]

I am trying to read a file csv located on the web synchronously. Given the following code export class AppComponent implements OnInit { nam

Adding Google authentication to ASP.NET with Angular Visual Studio template

I have a project that I created with the ASP.NET with Angular Visual Studio template with the individual accounts authentication type. I then added Google authe

Property 'randomUUID' does not exist on type 'Crypto'

I was trying to use crypto.randomUUID in my angular app v13.1, but it seems not to be available. Gives us this error if you try: TS2339: Property 'randomUUID'

Error 10 in Google Login plugin for Ionic/Angular/Cordova

I'm quite new to all that technologies, but trying to develop an android app with Ionic 6 and Angular 9, compiling with Cordova and publishing in Google Play. E

Angular ngIf condition breaking javascript logic

I have the following nested dropdown list. The child items are initially hidden and clicking on the parent toggles an "open" class to display the children. I am

How to change dynamically 'aria-pressed' = false to true using JS

I have no idea about JS. But there is needed one line of code. i have below JS code. const quillEditors = document.getElementsByTagName('quill-editor'); f

Get Array of Values from a Nested Data

guys. How to get values from an array of the nested object, which I getting from the parent component. For example: @Input() result?: FullResult; construc

Nested FormGroupDirective in child components

There is a problem with FormGroupDirective dependency injection. I have an example of relation component to each other: <app-component-group> <child-

How does Angular differentiate between refresh event and close browser/close tab event?

How does Angular differentiate between refresh event and close browser/close tab event? I tried to listen to the event beforeunload, but I found that this event

Windows angular need to create files with CRLF endings

I'm on windows and want in my angular project the cli to create components with CRLF endings. Right now angular CLI creates scss file with CRLF and other files

Windows angular need to create files with CRLF endings

I'm on windows and want in my angular project the cli to create components with CRLF endings. Right now angular CLI creates scss file with CRLF and other files