From acf4c10c9a482a094009be55388c12de526263c3 Mon Sep 17 00:00:00 2001
From: Simon L
Date: Thu, 1 Jun 2023 11:30:51 +0200
Subject: [PATCH] WIP: try to get title into header
Signed-off-by: Simon L
---
src/App.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/App.vue b/src/App.vue
index 11bbf9fe7..9c1208a3f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -15,7 +15,7 @@
-
+
@@ -127,6 +127,9 @@ export default {
}
this.currentSlide -= 1
},
+ getPageTitle() {
+ this.slideList[this.currentSlide].content.querySelector('.page').getAttribute('data-title')
+ }
},
}