add style to remaining components

This commit is contained in:
Omar-Nabil
2024-08-12 13:29:14 -06:00
committed by Jose Alberto Hernandez
parent b432746c05
commit 37883380aa
6 changed files with 87 additions and 35 deletions
@@ -9,10 +9,22 @@ import { Component, OnInit } from '@angular/core';
templateUrl: './external-services.component.html',
})
export class ExternalServicesComponent implements OnInit {
// Initialize an array of 4 boolean values, all set to false
arrowBooleans: boolean[] = new Array(4).fill(false);
constructor() { }
ngOnInit() {
}
/**
* Popover function
* @param arrowNumber - The index of the boolean value to toggle.
*/
arrowBooleansToggle(arrowNumber:number) {
// Toggle the boolean value at the given index
this.arrowBooleans[arrowNumber] = !this.arrowBooleans[arrowNumber];
}
}