Category "angular"

Error: export 'control' (imported as 'L') was not found in '@raruto/leaflet-elevation' (module has no exports)

I have a angular application and need to use the custom leaflet package: https://github.com/Raruto/leaflet-elevation I am trying to use this in my application.

"Can't bind to (...)" and "(...) is not a known element" JS errors when Angular app rendered within a Liferay portlet

I have an Angular 9 app that I would like to make accessible via Liferay 7.x portlet. When I follow these steps, deploy my portlet and try to render it, I run i

Why does my Angular http.delete send "null" instead of null?

I have the following in my Angular service: this.$http.delete<void>(ApiDomain.superPlan, `/v1/Attendance?resultEventId=${resultEventId}&dueEventId=${d

upload image from Angular to aws s3 error: the image cannot be displayed because it contains errors

I'm trying to capture an image with the Android camera and upload it to an AWS S3 bucket. Using Angular 13 Ionic 6 and the Capacitor camera. Finally I got the i

How to update the source when use retrywhen RxJs

I'm doing a request to an API to create an order, it's probably got an error when trying to create the order with the same code because the method generateCode(

Angular Test: Mocking Viewchild projected component and observable property

I have the following code that I can't mock in my unit tests: @ContentChild(CarouselInfoComponent) carouselInfo: CarouselInfoComponent; @ContentChild(Carous

Dependent dynamic dropdown in Angular

I have a component(parent), where I am loading a single select option(Angular Material) and a multi select(Angular Material) option by an api call. I want to ha

How to send a ngfor object variable to a function

I have a *ngFor list for my categories and inside to list i wanna show subcategories list. subcategory data coming from firebase so i querying it with category_

How do i properly position my SVG element, so its even on resizes

So heres the image of my problem. I have two SVG files, and i want them to sticky to the bottom no matter how i resize my window, and if I resize it to a mobile

flexLayout div with full width

I have a form this form takes up 1/3 of the screen adjacent to the left , so ı want to this form display with full width (occupy the entire screen from lef

Pagination doesn't update in customized angular directive when filtering (How to customize mat-paginator in angular material)

As Per Marshal's answer, I have implemented the customized directive in an angular material data table. But I'm facing pagination issues when filtering the data

Angular - Access to object attribute with a string variable in property binding

I would like to use a string "attribute" as a key to access the value of a field in the "anim.animals" object. "anim" is an object of type Response that contain

Property 'sort' has no initializer and is not definitely assigned in the constructor

I am trying to use MatSort Module to sort my Table in Angular Material but I get this error: Property 'sort' has no initializer and is not definitely assigned i

Firebase v9 modular - How do you use onSnapshot to return an observable?

I'm trying to use Firebase v9 modular version and I'm confused as to how to use onSnapshot. I'm trying to execute a query and listen to the documents. Following

Angular federated module can not be loaded when route would be activated

I am trying to achieve a very simple module federation with shell (host) and travel (remote). Whenever I try do dynamically load the AbcModule from travel I get

tried to update angular to 13 broke a bunch of stuff now trying to go back to angular 11 how to?

First I am the only one working on this project so we can completely nuke everything but the code of course. I have tried things like this with no effect npm un

In angular Typescript, when logging a structure it looks correct, but when logging a member in it, it gets undefined

I have the following "prod" structure (from log): cat_id: "1" category: "2" description: "The Nike Zoom Pegasus Turbo 2 is updated with a feather-light upper, w

Angular input field type number should allow only numbers from 0-9

Having an input field where the user will enter the amount in it. i do want to restrict the users from entering decimal points. Eg : if user tries to enter 121.

Angular 12 - Generating browser application bundles (phase: sealing) very slow

After I update my Angular Application from Angular 11.2.12 to Angular 12.0.0 Angular CLI: 12.0.0 Node: 14.15.4 Package Manager: npm 6.14.10 OS: win32 x64 Angul

rxjs date range picker always wait for start and end observables

I have an angular material date picker and i'm trying get the start date and end date observables before I submit my query component.html <mat-form-f