File

core/action-bar/action-bar-item.component.ts

Description

A can be added with content projection. It allows to show items in three positions (left, right or more).

<c8y-action-bar-item [placement]="'right'">
  <button class="btn btn-link" (click)="addRandom()"><i c8yIcon="plus-circle"></i> Add random</button>
</c8y-action-bar-item>

Implements

ActionBarItem

Metadata

Index

Inputs

Inputs

itemClass
Type : string
Default value : ''

Adds additional classes to the item.

placement
Type : "left" | "right" | "more"
Default value : 'left'

Where the item should be shown. Use "more" to place it in a dropdown on the right.

priority
Type : number
Default value : 0

Priority for sorting the list. Higher priority means an earlier position in the list.

<ng-template #template>
  <li class="{{itemClass}}">
    <ng-content></ng-content>
  </li>
</ng-template>

results matching ""

    No results matching ""