From 6f406cd440f5b1a1956f0bf6f76b366929ec6dcd Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 8 May 2024 22:08:57 +0200 Subject: [PATCH] feat(NcAppNavigationCaption): Add `heading-id` prop to allow setting the ID on the caption itself Signed-off-by: Ferdinand Thiessen --- .../NcAppNavigationCaption.vue | 32 +++++++++- .../NcAppNavigation/NcAppNavigation.spec.js | 1 - .../NcAppNavigationCaption.spec.ts | 60 +++++++++++++++++++ 3 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 tests/unit/components/NcAppNavigation/NcAppNavigationCaption.spec.ts diff --git a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue index 14db1178a8..44bc6a0cbb 100644 --- a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue +++ b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue @@ -1,4 +1,6 @@ +### Basic usage + ```vue