{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating/issues/192","repository_url":"https://api.github.com/repos/aurelia/templating","labels_url":"https://api.github.com/repos/aurelia/templating/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating/issues/192/comments","events_url":"https://api.github.com/repos/aurelia/templating/issues/192/events","html_url":"https://github.com/aurelia/templating/issues/192","id":112303534,"number":192,"title":"Feature Request: Callback handler on view when rendered","user":{"login":"chrismbeckett","id":6036093,"avatar_url":"https://avatars.githubusercontent.com/u/6036093?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismbeckett","html_url":"https://github.com/chrismbeckett","followers_url":"https://api.github.com/users/chrismbeckett/followers","following_url":"https://api.github.com/users/chrismbeckett/following{/other_user}","gists_url":"https://api.github.com/users/chrismbeckett/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismbeckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismbeckett/subscriptions","organizations_url":"https://api.github.com/users/chrismbeckett/orgs","repos_url":"https://api.github.com/users/chrismbeckett/repos","events_url":"https://api.github.com/users/chrismbeckett/events{/privacy}","received_events_url":"https://api.github.com/users/chrismbeckett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-20T07:23:05Z","updated_at":"2016-03-18T07:56:10Z","closed_at":"2015-10-22T05:30:03Z","body":"A lot of jQuery-style components and frameworks (including Material Design Lite) are designed to bind to DOM elements after they have been rendered. MeteorJS for example allows a \"rendered\" event handler to be added to a view that is called when the view is rendered into the DOM and provides an ideal place to enable jQuery components, etc. The event also provides the root DOM element for the particular view.\r\n\r\nRight now the only way to do this seems to be to create a custom element or attribute and use the attached() callback. It would be nice to have a callback like this on the view.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/templating/issues/comments/198243371","html_url":"https://github.com/aurelia/templating/issues/192#issuecomment-198243371","issue_url":"https://api.github.com/repos/aurelia/templating/issues/192","id":198243371,"user":{"login":"doktordirk","id":13430091,"avatar_url":"https://avatars.githubusercontent.com/u/13430091?v=3","gravatar_id":"","url":"https://api.github.com/users/doktordirk","html_url":"https://github.com/doktordirk","followers_url":"https://api.github.com/users/doktordirk/followers","following_url":"https://api.github.com/users/doktordirk/following{/other_user}","gists_url":"https://api.github.com/users/doktordirk/gists{/gist_id}","starred_url":"https://api.github.com/users/doktordirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doktordirk/subscriptions","organizations_url":"https://api.github.com/users/doktordirk/orgs","repos_url":"https://api.github.com/users/doktordirk/repos","events_url":"https://api.github.com/users/doktordirk/events{/privacy}","received_events_url":"https://api.github.com/users/doktordirk/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T07:56:10Z","updated_at":"2016-03-18T07:56:10Z","body":"@EisenbergEffect That.S exactly the issue i had the others day with the changed behaviour/order of view attaching. I d suggest to have a Blog/Doc Entry about it"}}