134
questions
1
vote
1
answer
16
views
document is not defined while initialize keycloak service
I am developing angular application where keycloak require to integrate. i use angular 18 and keycloak.ja 24.0.2 version.
Here is the code where keycloak service initiates.
import Keycloak from '...
1
vote
0
answers
20
views
How to configure webpack.config.ts @angular-builders/custom-webpack Angular 18
I am using an Angular 18 project and @angular-builders/custom-webpack@18 for the custom Webpack configuration. The issue I am facing is that I am developing a web component that uses an image, and I ...
0
votes
0
answers
26
views
Monaco editor implementation in angular 18
I would like to use the Monaco Editor in an Angular 18 project to embed custom small code snippets in a form, as the Monaco Editor offers the ability to edit code suggestions.
After implementing the ...
0
votes
0
answers
13
views
Error polyfilling timers-browserify in Angular 18
I have recently created a new project in Angular 18 that requires xml2js. In local development everything works fine, but for production build problems started with node timers lib.
The xml2js needs ...
1
vote
0
answers
35
views
How to seamlessly provide Client IP address on both SSR runtime and Client side in Angular 18?
I'm working with Angular 18 and need to retrieve the client's IP address during both server-side rendering (SSR) and client-side rendering. I've come across this answer on how to achieve this with ...
-1
votes
0
answers
21
views
Angular 18 project working in mobile mode in browser but not working in desktop mode
I have update my project 16 to 18 angualr version. after the update the project working only in mobile mode in browser when inspect the dev tools. but not working in desktop mode. whereas the same ...
0
votes
0
answers
16
views
How to implement drag and drop between buttons and dynamic 2D array rows using Angular CDK?
I’m working on an Angular component where I want to drag and drop items from a set of alphabet buttons into different rows of a 2D array (slotButtons). Each row should act as an independent drop ...
0
votes
0
answers
29
views
How do I revert back to webpack builde in Angular 18?
I am working with Angular 18 for my project which uses esbuild to build the project bundles. I want to switch to using webpack as my bundler. I don't really have code to show because I don't know what ...
1
vote
1
answer
74
views
Translate Pipe not correctly importing while using ngx-translate in Angular 18
I'm trying to use the ngx-translate library in Angular 18, but it gives me the following error message in the app.component.ts file when I try to use Translate pipe.
I am trying to ultimately display ...
0
votes
0
answers
31
views
Compute signal throwing error about derived signal is not a function
I am using Angular version 18.1.0 in a hybrid app mode environment (AngularJS + Angular 18)
I have the following code that take in input signal and compute a signal dependent on the input signal.
My ...
0
votes
1
answer
34
views
How to reassign multiple let variable in angular 18
How to reassign multiple let values in angular18
let one,two,three;
let fun=()=> {
return ({one: "tt", two:"uu", three: "vv"})
}
Demo:https://...
0
votes
0
answers
16
views
Angular18 and pixi.js hello world
I try to make simple app with pixi.js and ang18.
import { Component, OnInit } from '@angular/core';
import * as PIXI from 'pixi.js';
@Component({
selector: 'app-root',
templateUrl: './app....
0
votes
0
answers
60
views
How do I manually do what ViewChild does?
@ViewChild will grab a directive ref from the template. Using a class will only get the first. Getting others requires knowing the id upfront.
I have one main accordion with 3-4 items. Within two of ...
0
votes
0
answers
23
views
Tooltip not showing on invalid username input using Tailwind and Flowbite
I'm working on an Angular form using Tailwind CSS and the Flowbite library for tooltips. The tooltip is supposed to appear next to the username input field when the field is invalid and touched. ...
1
vote
0
answers
43
views
ASP.NET Core 8 SignalR and Angular 8 integration: no messages after SQL Server database changes
I’m currently working on a project involving an ASP.NET Core 8 application with SignalR for real-time notifications with SQL Server,
an Angular 18 frontend, and SQL Server 2022 Express edition as the ...