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"
[retirementDate]="user?.settings?.retirementDate"
[savingsRate]="user?.settings?.savingsRate"
[style]="{
opacity: user?.subscription?.type === 'Basic' ? '0.67' : 'initial',
'pointer-events':
user?.subscription?.type === 'Basic' ? 'none' : 'initial'
}"
[style.opacity]="
user?.subscription?.type === 'Basic' ? '0.67' : 'initial'
"
[style.pointer-events]="
user?.subscription?.type === 'Basic' ? 'none' : 'initial'
"
(annualInterestRateChanged)="onAnnualInterestRateChange($event)"
(calculationCompleted)="onCalculationComplete($event)"
(projectedTotalAmountChanged)="onProjectedTotalAmountChange($event)"

Loading…
Cancel
Save