How To Give A Function a Parameter in Fusetool

fuse

project is already pushed to github example

  • this is no true function with parameter for now
  • one way is use Callback and Handler
  • if without each or not a list, the arg will be like function picture from dropbox and get all vars as arg
  • if in an each and the var is a list, will give the elements in list
  • use arg.data to get the value
  • if the var is Observable, then use args.data.variableName.value
  • in fact, the handler give both data and sender info

ref

the picture is from fusetool website.