/frontend/src/app/main/main.component.ts

https://bitbucket.org/kanishevv/ofnvrsk · TypeScript · 22 lines · 17 code · 5 blank · 0 comment · 0 complexity · 07b164fc1120d04d40e3eb0930ed3bad MD5 · raw file

  1. import { Component, OnInit } from '@angular/core';
  2. import { Title } from '@angular/platform-browser';
  3. @Component({
  4. selector: 'app-main',
  5. templateUrl: './main.component.html',
  6. styleUrls: ['./main.component.css']
  7. })
  8. export class MainComponent implements OnInit {
  9. config: SwiperOptions = {
  10. pagination: '.swiper-pagination',
  11. paginationClickable: true,
  12. };
  13. constructor(private titleService: Title) { }
  14. ngOnInit() {
  15. this.titleService.setTitle('Официальный Новороссийск');
  16. }
  17. }