Skip to content

Commit

Permalink
Adding title attribute in KBreadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
RONAK-AI647 committed Dec 12, 2024
1 parent 6c6b208 commit d9de72a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/KBreadcrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@
:text="crumb.text"
:to="crumb.link"
dir="auto"
:title="crumb.text"
>
<template #text="{ text }">
<span class="breadcrumbs-crumb-text">{{ text }}</span>
<span class="breadcrumbs-crumb-text" :title="text">{{ text }}</span>
</template>
</KRouterLink>
<span v-else>{{ crumb.text }}</span>
<span v-else :title="crumb.text">{{ crumb.text }}</span>
</li>

<li
Expand All @@ -82,6 +83,7 @@
class="breadcrumbs-crumb-text"
:style="{ maxWidth: lastBreadcrumbMaxWidth }"
dir="auto"
:title="crumb.text"
>
{{ crumb.text }}
</span>
Expand Down

0 comments on commit d9de72a

Please sign in to comment.