Category "angular"

How to hide background contents of window.open while printing in Angular

I have running Angular 12 application and I am integrating the behavior to print report. I am able to achieve the print on button click which opens a new window

Hiding a mat data table column in angular 4

<ng-container matColumnDef="jan"> <mat-header-cell [hidden]="true" *matHeaderCellDef style="font-size: 65%" class="white-text" fxHide [fxShow.gt-md]=

How to clear an Angular reactive form input values

I have a simple reactive form set up like this constructor(private scheduleService: ScheduleService, fb: FormBuilder) { this.searchForm = fb.group({ from: ["

Unicode characters in Angular binding

There are some answers on how to display Unicode character codes in Angular bindings, but I'm trying to display one dynamically and everything seems to fail. I

Beautify Xml with Angular

I'm trying to beautify a xml throught the package avaible in npm repositories (vkbeautify and xml-beautifier) to display into the html but is not working (I tri

Dynamically update doughnut chart with NG2Charts

I am working on a project where I am making a calculator of macronutrients. I have a form to enter the values and it displays a doughnut chart, with its initial

moment.calendar shows today as the day instead of 5 days ago

I am using moment version 2.24.0 (I did have an older version but updated to see if it fixed this problem, which it didn't), in Angular application. I have the

Angular how to disable authGuard on particular child page

can anyone suggest best way to disable authguard (applied on parent level) on a single child page. ROUTES:Routes = [ { path: '', component:

Downgrading multiple Angular modules to AngularJS

I've got an existing AngularJS application, which is component based and loads different addons/plugins lazily using ocLazyLoad. I'm trying to write a new addon

upload camera functionality doesn’t work on MS Teams task module on android

I have an extension in MS Teams, which open a task module - basically an angular application. as seen below: The functionality of the app is to perform upload

How to make two responsive columns inside the mat-card-content using fxLayout?

Here is my HTML code snippet: <mat-card-content> <div fxLayout="row" fxFlex="1 0 0"> <div fxLayout="column">First</div>

Hidden parameter for certain users in angular

I have a path https:xxxyxxxxxx.com/mypolicy in angular ,This link is applicable for certain users,But when i am giving this url for those users.I need to hide m

How to add background color to the test in webpage?

I found some text in webpage using below code document.body.innerText.indexOf('tested') document.body.innerText.includes('tested') after finding the text I wan

Why is Angular breaking my Google Fonts SCSS import?

I've got this line on my global SCSS: @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&family=Roboto&display=swap'); B

Automatic compare check in Angular i18n json files [closed]

I have 2 files en.json and xx.json with translations in Angular application. Common idea is to create translation in both files for multilangu

Implementing bluetooth device connection in an Angular project

Im trying to implement the possibility to find and connect to bluetooth devices in my Angular project (v12.1.0) so i'm trying to install @manekinekko/angular-we

Angular get all console errors

I'm trying to catch all console errors of my Angular aplication, not only the http response error, but also those that are generated in the application. I mean,

Save Custom Data in Thingsboard ; Which is not a Telemetry data

I am using thingsboard. Lets say i have a simple User Form having the following attributes: Username First Name Last Name Email Address Phone Number Now i want

Auxiliary outlet makes the whole page refresh in Angular

I'm using auxiliary outlet in my angular project. In my routing.module.ts I have: Routing.module.ts const routes: Routes = [ { path: '',

Angular double curly braces expressions being executed multiple times on mouse down and up

In our Angular app, given code like the following: <div>{{ aGetProperty }}</div> <div>{{ aMethod() }}</div> Whenever I click anywhere