This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dictionary:more:dolater [2018/01/15 15:28] James Sentman |
dictionary:more:dolater [2019/11/17 13:20] (current) James Sentman added link to slow fade example |
||
---|---|---|---|
Line 17: | Line 17: | ||
**in** [integer] the number of milliseconds to call the handler specified in the default parameter. A second is 1000 milliseconds so if you wanted to run the named handler in 4 seconds you would specify 4000.\\ | **in** [integer] the number of milliseconds to call the handler specified in the default parameter. A second is 1000 milliseconds so if you wanted to run the named handler in 4 seconds you would specify 4000.\\ | ||
\\ | \\ | ||
- | **with data** [any or list of any: optional] if you have information you wish to pass on to the handler you can specify it here. Passing {“one”, “two”} would pass those into a handler written as: on myHandler( paramOne, paramTwo) where paramOne would be “one” and so forth. | + | **with data** [any or list of any: optional] if you have information you wish to pass on to the handler you can specify it here. Passing {“one”, “two”} would pass those into a handler written as: on myHandler( paramOne, paramTwo) where paramOne would be “one” and so forth. See the [[tutorials:slow_fade|Slow Fade]] script for an example of how that might be used. |
===Examples:=== | ===Examples:=== |