org.scalajs.dom.raw

File

Related Doc: package raw

trait File extends Blob

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

Annotations
@RawJSType()
Linear Supertypes
Blob, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. File
  2. Blob
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Definition Classes
    Blob
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  15. def lastModifiedDate: Any

    Returns the last modified date of the file.

    Returns the last modified date of the file. Files without a known last modified date use the current date instead.

    MDN

  16. def name: String

    Returns the name of the file.

    Returns the name of the file. For security reasons, the path is excluded from this property.

    MDN

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  21. def size: Int

    The size, in bytes, of the data contained in the Blob object.

    The size, in bytes, of the data contained in the Blob object.

    MDN

    Definition Classes
    Blob
  22. def slice(start: Int = js.native, end: Int = js.native, contentType: String = js.native): Blob

    The slice is used to create a new Blob object containing the data in the specified range of bytes of the source Blob.

    The slice is used to create a new Blob object containing the data in the specified range of bytes of the source Blob.

    MDN

    Definition Classes
    Blob
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Definition Classes
    Object
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def type: String

    Definition Classes
    Blob
  27. def valueOf(): Any

    Definition Classes
    Object
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Blob

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped