12345678910111213141516171819202122232425262728293031323334 |
- import { Component, OnInit } from '@angular/core';
- import { Router } from '@angular/router';
- import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList,
- IonListHeader, IonCardHeader, IonCardTitle, IonCardContent, IonTitle, IonCard, IonToolbar, IonInput, IonSearchbar } from '@ionic/angular/standalone';
- @Component({
- selector: 'app-page-setting',
- templateUrl: './page-setting.component.html',
- styleUrls: ['./page-setting.component.scss'],
- standalone: true,
- imports: [
- IonHeader, IonToolbar, IonTitle, IonContent,
- IonList, IonListHeader, IonItem, IonCardTitle,
- IonLabel, IonIcon, IonButton, IonCardContent,
- IonInput, IonSearchbar, IonCard, IonCardHeader,
- ]
- })
- export class PageSettingComponent implements OnInit {
- constructor(private router: Router) { }
- ngOnInit() {}
- goTab3() {
- this.router.navigate(['tabs/tab3']);
- }
- changeTheme(theme: string) {
- document.body.className = theme;
- }
- }
|