P5.js Createfileinput custom text

When I create a input = createFileInput(handleFile);
appears the text ‘seleccionar archivo’ and the name of file near. I can change this messages with .style or .attribute?

Thanks

Hi,

This is what the createFileInput() function create when called :

<input type="file" style="position: absolute; left: 0px; top: 0px;">

The text is handled by browsers but it seems that you can change that :

1 Like