PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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