core/split-view/split-view-header-actions.component.ts
Slot for the buttons shown in the header of a split view list.
Place it inside c8y-sv-list. The actions align to the right of the title,
or take the full header width when the list hides its title.
<c8y-sv-list [title]="'Devices'">
<c8y-sv-header-actions>
<button class="btn btn-default btn-sm" (click)="refresh()">Refresh</button>
</c8y-sv-header-actions>
</c8y-sv-list>
<b>Example :</b><div><pre class="line-numbers"><code class="language-html"><c8y-sv-list [title]="'Devices'">
<c8y-sv-header-actions>
<button class="btn btn-default btn-sm" (click)="refresh()">Refresh</button>
</c8y-sv-header-actions>
</c8y-sv-list></code></pre></div>
| changeDetection | ChangeDetectionStrategy.Eager |
| host | { |
| selector | c8y-sv-header-actions |
| standalone | true |
| imports | |
| templateUrl | ./split-view-header-actions.component.html |
<div
[ngClass]="{ 'd-flex a-i-center fit-w': !showTitle, 'm-l-auto': showTitle }"
data-cy="c8y-sv-header-actions"
>
<ng-content></ng-content>
</div>