abstract
class
File extends Blob
Instance Constructors
-
new
File()
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
close(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hasOwnProperty(v: String): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
isPrototypeOf(v: Object): Boolean
-
def
name: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
propertyIsEnumerable(v: String): Boolean
-
def
size: Double
-
def
slice(start: Double = js.native, end: Double = js.native, contentType: String = js.native): Blob
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toLocaleString(): String
-
def
toString(): String
-
def
type: String
-
def
valueOf(): Any
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Deprecated Value Members
-
def
lastModifiedDate: Any
Inherited from Object
Inherited from Any
Inherited from AnyRef
Inherited from Any
The File interface provides information about -- and access to the contents of -- files.
These are generally retrieved from a FileList object returned as a result of a user selecting files using the input element, or from a drag and drop operation's DataTransfer object.
The file reference can be saved when the form is submitted while the user is offline, so that the data can be retrieved and uploaded when the Internet connection is restored.
MDN