Widget:File upload: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 244: Regel 244:
 
if(dropArea){
 
if(dropArea){
  
  dropArea.addEventListener('dragenter', handlerFunction, false)
 
  dropArea.addEventListener('dragleave', handlerFunction, false)
 
  dropArea.addEventListener('dragover', handlerFunction, false)
 
  dropArea.addEventListener('drop', handlerFunction, false)
 
  
 
  ;['dragenter', 'dragover', 'dragleave', 'drop'].forEach(function(eventName){
 
  ;['dragenter', 'dragover', 'dragleave', 'drop'].forEach(function(eventName){

Versie van 7 sep 2020 10:26

Sjabloon:Managed

This is the Widget:File upload page. It should be called in the following format:

{{#widget:File upload
|multiple=false
|preview=true
|caption=true
|drop=false
|button={{fa|upload}}
|filepagetemplate=file for test
|filepageparameters=filename:<FILENAME><Title>;page:{{FULLPAGENAME}}
|filename=<FILENAME><Title>
}}