[Bindable]
public var isToggled:Boolean = true;
public var menuData:Array = [
{label: "Sample", type: "check", toggled: {isToggled}}
];
I'm trying to bind the isToggled variable to the toggled property but I'm getting this error: 1084: Syntax error: expecting colon before dot. Maybe because it is treating {isToggled} as another object. Is there a workaround for this?