Browse Source

Migrate from NgStyle to style bindings

pull/7008/head
Thomas Kaul 3 months ago
parent
commit
fe80c814a4
  1. 11
      apps/client/src/app/pages/portfolio/fire/fire-page.html

11
apps/client/src/app/pages/portfolio/fire/fire-page.html

@ -22,11 +22,12 @@
[projectedTotalAmount]="user?.settings?.projectedTotalAmount" [projectedTotalAmount]="user?.settings?.projectedTotalAmount"
[retirementDate]="user?.settings?.retirementDate" [retirementDate]="user?.settings?.retirementDate"
[savingsRate]="user?.settings?.savingsRate" [savingsRate]="user?.settings?.savingsRate"
[style]="{ [style.opacity]="
opacity: user?.subscription?.type === 'Basic' ? '0.67' : 'initial', user?.subscription?.type === 'Basic' ? '0.67' : 'initial'
'pointer-events': "
user?.subscription?.type === 'Basic' ? 'none' : 'initial' [style.pointer-events]="
}" user?.subscription?.type === 'Basic' ? 'none' : 'initial'
"
(annualInterestRateChanged)="onAnnualInterestRateChange($event)" (annualInterestRateChanged)="onAnnualInterestRateChange($event)"
(calculationCompleted)="onCalculationComplete($event)" (calculationCompleted)="onCalculationComplete($event)"
(projectedTotalAmountChanged)="onProjectedTotalAmountChange($event)" (projectedTotalAmountChanged)="onProjectedTotalAmountChange($event)"

Loading…
Cancel
Save