aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index fea7c6f8..f9c8d981 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -42,6 +42,8 @@ const Attachment = {
'size',
'setMedia',
'remove',
+ 'shiftUp',
+ 'shiftDn',
'edit'
],
data () {
@@ -154,6 +156,12 @@ const Attachment = {
onRemove () {
this.remove && this.remove(this.attachment)
},
+ onShiftUp () {
+ this.shiftUp && this.shiftUp(this.attachment)
+ },
+ onShiftDn () {
+ this.shiftDn && this.shiftDn(this.attachment)
+ },
stopFlash () {
this.$refs.flash.closePlayer()
},