You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a numeric slider allowing a value between 0 and 100 (inclusive).
16
16
constslider=Inputs.range([0, 100], {label:"x"});
@@ -484,7 +484,7 @@ The available *options* are:
484
484
485
485
Note that the value of file input cannot be set programmatically; it can only be changed by the user.
486
486
487
-
(In vanilla JavaScript, the Inputs.file method is not exposed directly. Instead, an Inputs.fileOf method is exposed which takes an AbstractFile implementation and returns the Inputs.file method. This avoids a circular dependency between Observable Inputs and the Observable standard library.)
487
+
(In vanilla JavaScript, the Inputs.file method has an additional *transform* option which allows the native File object to be converted into an Observable FileAttachment.)
0 commit comments