0👍
You need to separate your meme types by a comma ,
just like this:
swal({
title: 'Select file',
input: 'file',
inputAttributes: {
'accept': 'image/*,application/pdf,application/vnd.ms-powerpoint,application/msword',
'aria-label': 'Upload your profile picture'
}
})
Codepen: https://codepen.io/anon/pen/pGENrg?&editable=true
You can find a list of meme types here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
- [Vuejs]-How can I import a JS file from a folder in my Vue JS project?
- [Vuejs]-How to make a <tr> element in vuejs that contains <slot> with html
Source:stackexchange.com