# ui1.File

Button to open a file selection dialog

Because of the experimantel status no documemtation is availabe.

out.appendChild(new innovaphone.ui1.File("position:absolute; left:30px; top:20px; width:70px; height:24px; text-align:center", "File", "ui1-file", update, false, "application/pdf").container); function update(f) { alert(f[0].name); }

## innovaphone.ui1.File(style, content, cl, update, multiple)

Creates an file selection button

style
  Style to be used to set positioning and size of the button
content
  May be text, HTML or a innovaphone.ui1.nodePrototype object to set the content
cl
  class to be used to define style of the button
update
  callback when the file selection was updated. The files array is passed as argument
multiple
  Flag to define that multiple files may be selected if true.
accept
  The accept argument specifies the types of files that can be selected.