Cascades' QML environment primarily uses JavaScript to "do things." JavaScript can be written in line (such as inside of the onClicked {} of a Button), as a function defined from within the QML file, or as a separate .js file from within the assets folder.

Examples/Tutorials Using This Feature:

JavaScript 3 Ways

One Button/Multiple Outputs and One Outpute/Multiple Buttons

SegmentedControl to Control a DropDown