Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ViewerComponent.vue')
-rw-r--r--src/components/ViewerComponent.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/ViewerComponent.vue b/src/components/ViewerComponent.vue
index 952f7b8b3..c48a8ae46 100644
--- a/src/components/ViewerComponent.vue
+++ b/src/components/ViewerComponent.vue
@@ -24,6 +24,7 @@
<EditorWrapper :file-id="fileid"
:relative-path="filename"
:active="active"
+ :autofocus="autofocus"
:share-token="shareToken"
:mime="mime" />
</template>
@@ -47,6 +48,10 @@ export default {
type: Boolean,
default: false,
},
+ autofocus: {
+ type: Boolean,
+ default: true,
+ },
shareToken: {
type: String,
default: null,