Former-commit-id: 01621444e51316cc9f125e4d541caf9d6c9d37a1 [formerly 733a976b594348754cb34b27c594c485fd5b0df4] [formerly 36a2f39b0e471ee231343ebaed474ae247764b37 [formerly 8d891f0d51]]
Former-commit-id: 505c381e3135c0e0607e984a37e908672e8100a3 [formerly a6e70288608c6ee1edc380af76ee3e82ff62861a]
Former-commit-id: d946069b4f8ad1b19da7ee087901762b3f4b7936
18 lines
354 B
Vue
18 lines
354 B
Vue
<template>
|
|
<button @click="upload" aria-label="Upload" title="Upload" class="action">
|
|
<i class="material-icons">file_upload</i>
|
|
<span>Upload</span>
|
|
</button>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'upload-button',
|
|
methods: {
|
|
upload: function (event) {
|
|
document.getElementById('upload-input').click()
|
|
}
|
|
}
|
|
}
|
|
</script>
|