{"action":"opened","issue":{"url":"https://api.github.com/repos/Dexels/navajo/issues/311","labels_url":"https://api.github.com/repos/Dexels/navajo/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/Dexels/navajo/issues/311/comments","events_url":"https://api.github.com/repos/Dexels/navajo/issues/311/events","html_url":"https://github.com/Dexels/navajo/issues/311","id":97416018,"number":311,"title":"(Tipi) Possibility to initialize local variable(s) before instantiation of child components","user":{"login":"kharybdys","id":3205437,"avatar_url":"https://avatars.githubusercontent.com/u/3205437?v=3","gravatar_id":"","url":"https://api.github.com/users/kharybdys","html_url":"https://github.com/kharybdys","followers_url":"https://api.github.com/users/kharybdys/followers","following_url":"https://api.github.com/users/kharybdys/following{/other_user}","gists_url":"https://api.github.com/users/kharybdys/gists{/gist_id}","starred_url":"https://api.github.com/users/kharybdys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kharybdys/subscriptions","organizations_url":"https://api.github.com/users/kharybdys/orgs","repos_url":"https://api.github.com/users/kharybdys/repos","events_url":"https://api.github.com/users/kharybdys/events{/privacy}","received_events_url":"https://api.github.com/users/kharybdys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-27T08:52:44Z","updated_at":"2015-07-27T08:52:44Z","closed_at":null,"body":"It could be nice if you could add local variables (and their values) to the instantiate action, such that those variables are set to those values before child components instantiate (meaning you can refer to these variables in their visible/enabled properties) and before the onInstantiate event fires.\r\n\r\nIf necessary, it already helps a ton if it's just a single local variable, and it's even an option to give that one a fixed name (but then it makes more sense to make it a general component attribute).\r\n\r\nThe idea behind this is that you might want to choose modes for a component at instantiation. Work-arounds exist."}}