-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VL-29_UBreadcrumbs-new-component_Vitalii-Dudnik #342
VL-29_UBreadcrumbs-new-component_Vitalii-Dudnik #342
Conversation
…s were removed from ULink)
src/ui.button-link/ULink.vue
Outdated
--> | ||
<slot :is-active="slotProps.isActive" :is-exact-active="slotProps.isExactActive">{{ | ||
label | ||
}}</slot> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<slot :is-active="slotProps.isActive" :is-exact-active="slotProps.isExactActive">
{{ label }}
</slot>
@binding {boolean} active | ||
--> | ||
<slot name="label" :label="link.label" :index="index" :active="isLinkActive(index)" /> | ||
<template #default="slotProps"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v-slot="slotProps: ULinkSlotProps"
:label="link.label" | ||
:index="index" | ||
:active=" | ||
(slotProps as ULinkSlotProps).isActive || (slotProps as ULinkSlotProps).isExactActive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I this pass values in different props will be better.
:active="slotProps.isActive"
:exact-active="slotProps.isExactActive"
Add new "UBreadcrumbs" component
https://ilevel.atlassian.net/jira/software/c/projects/VL/boards/11?selectedIssue=VL-29