From b4b50a0de3c3ae7bbf1d70c739b3f7ac9df62a03 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 | 99 +++++++++++++++++++- 2 files changed, 106 insertions(+), 2 deletions(-) diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index c2d9cbe9eb..075d7f4715 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