Newer
Older
CamaraComercioWeb / src / app / modules / public / home / home.component.ts
Fabian VC on 21 Oct 2021 579 bytes [fix] fix styles
import { Component, OnInit } from '@angular/core'
import { Title } from '@angular/platform-browser';

@Component({
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss'],
})
export class HomeComponent implements OnInit {

  search: string = ''

  constructor(private title: Title) { }
  ngOnInit(): void { 
    this.setTitle("Home | Camara de comercio")
  }

  private setTitle(newTitle: string){
    this.title.setTitle(newTitle);
  }

  handlePatternSearch($event: any) {
    console.log("Parametro de busqueda",$event)
    this.search = $event;
  }

}