mv-ng-typeahead/src/app/app.component.ts
2026-11-01 12:23:31 +01:00

39 lines
889 B
TypeScript

import { Component } from '@angular/core';
import { DiseaseTypeaheadComponent } from './disease-typeahead';
@Component({
imports: [DiseaseTypeaheadComponent],
selector: 'app-root',
template: `
<app-disease-typeahead />
<p class="info">
Using JavaScript, replicate the
<a href="https://medicalvalues.de/wp-content/uploads/2021/01/js_challenge.mp4" target="_blank"
>functionality found here</a
>. <br />
The solution does not have to be perfect. Most important is to see how you approach such
tasks.
</p>
`,
styles: `
::highlight(search-match) {
background: #ffc600;
color: black;
}
.info {
text-align: center;
line-height: 2;
color: white;
}
a {
color: white;
background: rgba(0, 0, 0, 0.1);
text-decoration: none;
}
`,
})
export class AppComponent {}