{"action":"closed","issue":{"url":"https://api.github.com/repos/galenframework/galen/issues/320","labels_url":"https://api.github.com/repos/galenframework/galen/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/galenframework/galen/issues/320/comments","events_url":"https://api.github.com/repos/galenframework/galen/issues/320/events","html_url":"https://github.com/galenframework/galen/issues/320","id":108451497,"number":320,"title":"Extend component to accept arguments","user":{"login":"ishubin","id":949577,"avatar_url":"https://avatars.githubusercontent.com/u/949577?v=3","gravatar_id":"","url":"https://api.github.com/users/ishubin","html_url":"https://github.com/ishubin","followers_url":"https://api.github.com/users/ishubin/followers","following_url":"https://api.github.com/users/ishubin/following{/other_user}","gists_url":"https://api.github.com/users/ishubin/gists{/gist_id}","starred_url":"https://api.github.com/users/ishubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishubin/subscriptions","organizations_url":"https://api.github.com/users/ishubin/orgs","repos_url":"https://api.github.com/users/ishubin/repos","events_url":"https://api.github.com/users/ishubin/events{/privacy}","received_events_url":"https://api.github.com/users/ishubin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galenframework/galen/labels/c3","name":"c3","color":"fef2c0"},{"url":"https://api.github.com/repos/galenframework/galen/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/galenframework/galen/labels/needs%20documentation","name":"needs documentation","color":"5319e7"},{"url":"https://api.github.com/repos/galenframework/galen/labels/p2","name":"p2","color":"fad8c7"},{"url":"https://api.github.com/repos/galenframework/galen/labels/ready%20for%20test","name":"ready for test","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/galenframework/galen/milestones/9","html_url":"https://github.com/galenframework/galen/milestones/Version%202.2","labels_url":"https://api.github.com/repos/galenframework/galen/milestones/9/labels","id":1268932,"number":9,"title":"Version 2.2","description":"","creator":{"login":"ishubin","id":949577,"avatar_url":"https://avatars.githubusercontent.com/u/949577?v=3","gravatar_id":"","url":"https://api.github.com/users/ishubin","html_url":"https://github.com/ishubin","followers_url":"https://api.github.com/users/ishubin/followers","following_url":"https://api.github.com/users/ishubin/following{/other_user}","gists_url":"https://api.github.com/users/ishubin/gists{/gist_id}","starred_url":"https://api.github.com/users/ishubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishubin/subscriptions","organizations_url":"https://api.github.com/users/ishubin/orgs","repos_url":"https://api.github.com/users/ishubin/repos","events_url":"https://api.github.com/users/ishubin/events{/privacy}","received_events_url":"https://api.github.com/users/ishubin/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":13,"state":"open","created_at":"2015-08-24T08:27:33Z","updated_at":"2015-11-29T20:45:42Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-26T09:14:45Z","updated_at":"2015-11-29T20:45:42Z","closed_at":"2015-11-29T20:45:42Z","body":"It would be handy if we could pass argument to components from parent spec file.\r\n\r\ne.g.:\r\n\r\n```\r\nheader:\r\n    component header.gspec, loggedIn \"true\", loggedUserName \"Johny\"\r\n```\r\n\r\nAnd in the component itself those arguments should be accessible as normal js vars:\r\n\r\n```\r\n@if ${loggedIn}\r\n     user.caption:\r\n          text is \"Welcome, ${loggedUserName}\"\r\n```"}}