diff --git a/src/app/app.component.html b/src/app/app.component.html index 5fbd58d..420c042 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -14,9 +14,9 @@ - - - + + + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7b0f672..d69634b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,10 +1,22 @@ -import { Component } from '@angular/core'; +import { Component, OnInit, AfterViewChecked } from '@angular/core'; +declare var $: any; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) -export class AppComponent { - title = 'app'; +export class AppComponent implements OnInit, AfterViewChecked { + + title = 'Joachim Homepage'; + + ngAfterViewChecked(): void { + $(function () { + $('[data-toggle="tooltip"]').tooltip() + }) + } + + ngOnInit() { + } + } diff --git a/src/index.html b/src/index.html index 62c657e..1cf131f 100644 --- a/src/index.html +++ b/src/index.html @@ -7,6 +7,7 @@ +