/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
- import { Component, OnInit } from '@angular/core';
- import { Title } from '@angular/platform-browser';
- @Component({
- selector: 'app-main',
- templateUrl: './main.component.html',
- styleUrls: ['./main.component.css']
- })
- export class MainComponent implements OnInit {
- config: SwiperOptions = {
- pagination: '.swiper-pagination',
- paginationClickable: true,
- };
- constructor(private titleService: Title) { }
- ngOnInit() {
- this.titleService.setTitle('Официальный Новороссийск');
- }
- }