12 063
правки
(Новая страница: «If it is necessary to restore a strictly defined value (i.e. not to restore the previous saved value) every time the script is restarted, you can add the forceDef…») |
(Новая страница: «<syntaxhighlight lang="js"> defineVirtualDevice("vdev", { ... cells: { ... mycell: { type: "value", value: "10",…») |
||
Строка 169: | Строка 169: | ||
type: "value", | type: "value", | ||
value: "10", | value: "10", | ||
forceDefault: true // | forceDefault: true // every time the script box mycell will receive a value of 10 | ||
} | } | ||
} | } | ||
}); | }); | ||
</syntaxhighlight> | </syntaxhighlight> |
правки