From 56eed6acc3c18598a09f106f96921e743106c3ab Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 18 Jul 2023 12:29:04 +0200 Subject: [PATCH] feat(NcButton): Add `pressed` state for stateful buttons, like the `NcAppSidebar` star button Signed-off-by: Ferdinand Thiessen --- src/components/NcAppSidebar/NcAppSidebar.vue | 9 +- src/components/NcButton/NcButton.vue | 90 +++++++++++++++++++- 2 files changed, 97 insertions(+), 2 deletions(-) diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index c2d9cbe9eb..a7860452db 100644 --- a/src/components/NcAppSidebar/NcAppSidebar.vue +++ b/src/components/NcAppSidebar/NcAppSidebar.vue @@ -32,6 +32,7 @@ include a standard-header like it's used by the files app. ```vue