drift-bottle.component_20241224161532.ts 908 B

123456789101112131415161718192021222324252627
  1. import { Component, OnInit } from '@angular/core';
  2. import { IonHeader,IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList,
  3. IonListHeader,IonCardHeader,IonCardTitle,IonAvatar,IonCardContent, IonTitle,IonCard, IonToolbar,IonInput,IonSearchbar } from '@ionic/angular/standalone';
  4. import { Router } from '@angular/router';
  5. @Component({
  6. selector: 'app-drift-bottle',
  7. templateUrl: './drift-bottle.component.html',
  8. styleUrls: ['./drift-bottle.component.scss'],
  9. standalone: true,
  10. imports: [IonHeader,IonToolbar,IonTitle,IonContent,
  11. IonList,IonListHeader,IonItem,IonCardTitle,
  12. IonLabel,IonIcon,IonButton,IonCardContent,IonAvatar,
  13. IonInput,IonSearchbar,IonCard,IonCardHeader
  14. ]
  15. })
  16. export class DriftBottleComponent implements OnInit {
  17. constructor(private router: Router) { }
  18. goTab1(){
  19. this.router.navigate(['tabs/tab1']);
  20. }
  21. ngOnInit() {}
  22. }