enum class Action (source)
A user or system action that causes Fact instances to be emitted.
|CLICK||The user has clicked on something.|
|TOGGLE||The user has toggled something.|
|COMMIT||The user has committed an input (e.g. entered text into an input field and then pressed enter).|
|PLAY||The user has started playing something.|
|PAUSE||The user has paused something.|
|STOP||The user has stopped something.|
|RESUME||The user has resumed something.|
|CANCEL||The user has cancelled something.|
|TRY_AGAIN||The user has retried something.|
|OPEN||The user has opened something.|
|INTERACTION||A generic interaction that can be caused by a previous action (e.g. the user clicks on a button which causes a Fact with CLICK action to be emitted. This click may causes something to load which emits a follow-up a Fact with INTERACTION action.|
Loads a file from the resources folder and returns its content as a string object.