Dot notation

When dealing with binding information to and from Squirrel, or referencing a particular property in state, the Squirrel helper library leverages dot notation. For example:

{
  "buttonText": "Load File",
  "buttonDisabled": "false",
  "buttonColor": {
    "type": "solid",
    "color": [
      {
        "color": "#22ee33",
        "alpha": 1,
        "ratio": 0
      }
    ],
    "rotation": 0,
    "enabled": true
  },
  "dataDestination": ""
}

Last updated

Was this helpful?