[develop | DONE | FIXED]: slider-tab.component.ts & slider-tabs.component.ts: Added <ng-content /> element for embedded code.
This commit is contained in:
parent
8e41736f48
commit
8f4dc4a4ee
|
@ -3,7 +3,7 @@ import {ActivatedRoute} from "@angular/router";
|
|||
|
||||
@Component({
|
||||
selector: 'slider-tab',
|
||||
template: ``
|
||||
template: `<ng-content />`
|
||||
})
|
||||
export class SliderTabComponent {
|
||||
@Input("tabTitle")
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue