UI.PictureUpload
InternalAttribute msg -> InternalAttribute msg
The Attribute type
{ lastModified : Maybe Time.Posix
, name : String
, size : Basics.Int
, mimeType : String
, dataURL : String
}
The File type
The PortOutKey type
browse : String -> msg -> Attribute msg
Get the browse Attribute
dropZone : String -> Attribute msg
Get the drop zone Attribute
onFiles : (List File -> msg) -> Attribute msg
Get the onFiles Attribute
onLoad : (String -> msg) -> Attribute msg
Get the onLoad Attribute
picture : String -> Attribute msg
Get the picture Attribute
hidePicture : Attribute msg
Get the hide picture Attribute
pictureUpload : Engage.Namespace.Namespace -> String -> List (Attribute msg) -> Html msg
Get the picture upload view
remove : String -> msg -> Attribute msg
Get the remove Attribute