All Questions
Tagged with angular typescript
74,104
questions
0
votes
1
answer
32
views
When clicking print button print dialog box is not appearing to some users
When i am going to clicking print button print dialog box is working fine with my side, but some users are complaining they are not getting print dailog after clicking print button into production ...
0
votes
2
answers
21
views
Wait for a response before loading template
I have an angular application that makes a server call on ngOnInit() and returns a result. I then use the result to populate a model in my template. My template is loading before the call is finished, ...
0
votes
0
answers
8
views
Setting up Tone.js on button click still fails with : The AudioContext was not allowed to start
I have a angular component that has a button to start an animation and at the same time play some notes each time a number is highlighted
I'm setting up tone.js synth when the button is pressed see ...
0
votes
0
answers
13
views
How to disable drag and drop in Drawflow package in Angular?
I am using the drawflow package to create a workflow.
I want to disable drag-and-drop functionality from elements this demo as mentioned in the below image, not in the sidebar. In my demo, I want ...
-1
votes
2
answers
48
views
Argument of type 'Number' is not assignable to parameter of type 'string | number | null | undefined'. [plugin angular-compiler]
I got the error with DecimalPipe while converting number
My code:
Service
export interface RoomList {
roomNumber: number;
roomType: string;
amenities: string;
price: number;
photos:...
-1
votes
0
answers
16
views
Select Multiple area on image using drag and create hotspot in angular 8/ javascript
Hi all,
I want to implement a feature where user can select multiple rectangular area on image and create hotspot.
Once user click and drag from one position to second position it will draw like ...
0
votes
0
answers
15
views
Resize Owl-Carousel items when container width changes
I am using ngx-owl-carousel-o and I have a particular problem.
I want the owl-carousel to resize the items when the container resizes.
This is because I have a side menu that resizes the main content ...
0
votes
1
answer
36
views
Angular - Why is my search bar not working well?
dashboard.component.html :
<div class="search-bar">
<form class="search-form d-flex align-items-center" method="POST" >
<input type="...
0
votes
2
answers
36
views
Multiple Interfaces for the same object
I try to use a different type of declaration for my object "docs", because I want to use the same interface ResponseInterface for different requests, one is for User[] and other is for ...
1
vote
1
answer
22
views
How to bundle standalone component and directive when building an Angular library
I have built an Angular library that contains a component and a directive which are intrinsically linked. That is the component uses the directive. Everything works fine other than to successfully use ...
1
vote
1
answer
40
views
Angular JS to Angular 18 migration
I'm trying to create a hybrid Angular JS Angular 18 application, and at first the application was running fine with this setup:
upgrade-module.ts
import { DoBootstrap, NgModule } from '@angular/core';
...
-3
votes
1
answer
40
views
Integrate third party API in Angular [closed]
I have one library that gives pharmacy related data and I want to integrate in Angular, they have simple JavaScript code as below:
$('div#rxContainer').WebRefill({
PharmacyId: "SOMEID",
...
0
votes
0
answers
29
views
Adding "test" target config to existing NX libraries
I am working on an application that uses https://nx.dev/ and https://angular.dev/ and is configured with https://jestjs.io/ to run unit tests.
I normally use this command to generate new Angular ...
1
vote
1
answer
41
views
Why isn't my service's data shared between my Angular components?
I created a service DataAccessService:
@Injectable({
providedIn: 'root',
})
export class DataAccessService {
constructor(private http: HttpClient) {}
@Output() queryParamsChange: EventEmitter&...
1
vote
0
answers
32
views
I got an error when switching from Angular 17 to version 18
I was trying to update a project from Angular 14 to 18.
Of course I did it gradually from 14 to 15.
Then from 15 to 16, then from 16 to 17 and currently from 17 to 18
When updating from 16 to 17 I got ...