FileReader
tyrian.cmds.FileReader
object FileReader
Given the id of a file input field that has had a file selected, this Cmd will read either raw bytes, an image or text file to return a IArray[Byte]
or an HTMLImageElement
or String
respectively.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FileReader.type
Members list
Value members
Concrete methods
Reads an input file from an input field as bytes
Reads an input file from an input field as bytes
Attributes
Reads an input file as bytes
Reads an input file as bytes
Attributes
Reads an input file from an input field as base64 encoded image data
Reads an input file from an input field as base64 encoded image data
Attributes
Reads an input file as base64 encoded image data
Reads an input file as base64 encoded image data
Attributes
Reads an input file from an input field as plain text
Reads an input file from an input field as plain text
Attributes
In this article