{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2966","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2966/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2966/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2966/events","html_url":"https://github.com/NativeScript/NativeScript/issues/2966","id":185325011,"number":2966,"title":"Enhancement:  Global Events ","user":{"login":"NathanaelA","id":850871,"avatar_url":"https://avatars.githubusercontent.com/u/850871?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanaelA","html_url":"https://github.com/NathanaelA","followers_url":"https://api.github.com/users/NathanaelA/followers","following_url":"https://api.github.com/users/NathanaelA/following{/other_user}","gists_url":"https://api.github.com/users/NathanaelA/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanaelA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanaelA/subscriptions","organizations_url":"https://api.github.com/users/NathanaelA/orgs","repos_url":"https://api.github.com/users/NathanaelA/repos","events_url":"https://api.github.com/users/NathanaelA/events{/privacy}","received_events_url":"https://api.github.com/users/NathanaelA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T08:13:46Z","updated_at":"2016-10-28T22:30:14Z","closed_at":null,"body":"## Please, provide the details below:\r\nI developed the global events plugin, I would like to see if we can merge this into core with an additional change.   I have found I am in need to create an addition event that fires when ever a view component is created.    \r\n\r\nThe global events plugin currently works very well as a plugin, and I have no issues leaving the majority of it as a plugin.   However to make the the View component fire a global \"onCreated\" event, would actually require patching the actual view to fire the event in its constructor.    This requires a change to the actual tns core file; and not something I can just monkey-patch in via a plugin.\r\n\r\nI am willing to create the entire PR; but I am not going to waste everyone's time if this is something that you won't add to core and becomes better suited to be another patch that justifies my proposed TCP project.\r\n\r\n### Which platform(s) does your issue occur on?\r\nBoth\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/257044089","html_url":"https://github.com/NativeScript/NativeScript/issues/2966#issuecomment-257044089","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2966","id":257044089,"user":{"login":"andreasotto","id":2129515,"avatar_url":"https://avatars.githubusercontent.com/u/2129515?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasotto","html_url":"https://github.com/andreasotto","followers_url":"https://api.github.com/users/andreasotto/followers","following_url":"https://api.github.com/users/andreasotto/following{/other_user}","gists_url":"https://api.github.com/users/andreasotto/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasotto/subscriptions","organizations_url":"https://api.github.com/users/andreasotto/orgs","repos_url":"https://api.github.com/users/andreasotto/repos","events_url":"https://api.github.com/users/andreasotto/events{/privacy}","received_events_url":"https://api.github.com/users/andreasotto/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T22:30:14Z","updated_at":"2016-10-28T22:30:14Z","body":"+1"}}
{"actor":{"display_login":"andreasotto"}}