Untitled
unknown
plain_text
2 years ago
618 B
8
Indexable
import { Component } from '@angular/core';
@Component({
selector: 'app-your-component', // Adjust the selector accordingly
templateUrl: './your-component.component.html', // Adjust the path to your HTML file
styleUrls: ['./your-component.component.css'] // Adjust the path to your CSS file if needed
})
export class YourComponent {
viewMode: boolean = false; // Assuming you have a variable for viewMode
Disaster: any[] = []; // Assuming Disaster is an array
isNumberKey(event: any): boolean {
// Implement your isNumberKey logic here
return true; // Placeholder, replace with actual logic
}
}Editor is loading...
Leave a Comment