pull/6697/head
tugcekucukoglu 2024-10-31 10:05:30 +03:00
parent 892a86500f
commit 4b11cd02c8
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<template v-for="(item, i) of model" :key="item.label + '_' + i">
<li v-if="home || i !== 0" :class="cx('separator')" v-bind="ptm('separator')">
<slot name="separator">
<ChevronRightIcon aria-hidden="true" v-bind="ptm('separatorIcon')" />
<ChevronRightIcon aria-hidden="true" :class="cx('separatorIcon')" v-bind="ptm('separatorIcon')" />
</slot>
</li>
<BreadcrumbItem :item="item" :index="i" :templates="$slots" :pt="pt" :unstyled="unstyled" />

View File

@ -26,6 +26,10 @@ export enum BreadcrumbClasses {
* Class name of the separator element
*/
separator = 'p-breadcrumb-separator',
/**
* Class name of the separator icon element
*/
separatorIcon = 'p-breadcrumb-separator-icon',
/**
* Class name of the item element
*/