Copyright © 2021 by K4.org
  (v.0.48.124)

This button allows the user to upload a file or files to their model, and places an array in bindTarget containing an object for each file selected. Each object is of the form { id: number, url: string, name: string }.

Index

Rules

allowMultipleFiles

allowMultipleFiles: Boolean

Indicates whether multiple files can be uploaded.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : false

bindParent

bindParent: Any

The owner of the bindTarget rule.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : this

bindTarget

bindTarget: String

The rule on bindParent where the selected file data will be placed.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : ""

controlType

controlType: String

Internal Use Only

Flags : Cached (Note this is uncached)

Expression : "FileUploadButton"

fileMask

fileMask: String

The file selection mask, using the syntax of the HTML input accept parameter (see https://www.w3schools.com/tags/att_input_accept.asp). Note that wild cards are not accepted. For JPEG for example, use ".jpg" instead of "*.jpg"

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : ""