Changing front

This commit is contained in:
2023-01-16 17:44:37 +01:00
parent 0b8a93b256
commit 4fe4be7730
48586 changed files with 4725790 additions and 17464 deletions

View File

@@ -0,0 +1,27 @@
import { Component, HostBinding, Input, OnInit } from '@angular/core';
@Component({
selector: 'app-docs-link',
templateUrl: './docs-link.component.html',
styleUrls: ['./docs-link.component.scss']
})
export class DocsLinkComponent implements OnInit {
@Input() href?: string = 'https://coreui.io/angular/docs/';
@Input() name?: string;
@Input() text?: string;
constructor() { }
@HostBinding('class')
get hostClasses(): any {
return {
'float-end': true
};
}
ngOnInit(): void {
this.href = this.name ? `https://coreui.io/angular/docs/components/${this.name}` : this.href;
}
}