[develop | DONE | FIXED]: slider-tab.component.ts & slider-tabs.component.ts: Added <ng-content /> element for embedded code.

This commit is contained in:
Konstantina Galouni 2024-09-10 00:25:40 +03:00
parent 8e41736f48
commit 8f4dc4a4ee
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import {ActivatedRoute} from "@angular/router";
@Component({
selector: 'slider-tab',
template: ``
template: `<ng-content />`
})
export class SliderTabComponent {
@Input("tabTitle")

View File

@ -21,6 +21,7 @@ declare var UIkit;
@Component({
selector: 'slider-tabs',
template: `
<ng-content />
<div #sliderElement class="uk-position-relative" [class.uk-slider]="position === 'horizontal'"
[ngClass]="customClass">
<div [class.uk-slider-container-tabs]="position === 'horizontal'" [class.uk-border-bottom]="border && position === 'horizontal'" [ngClass]="containerClass">