{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67","repository_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67/comments","events_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67/events","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67","id":130023511,"number":67,"title":"Implement scrollfire","user":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/milestones/3","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/milestones/implement%20the%20%22javascript%22%20category","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/milestones/3/labels","id":1552727,"number":3,"title":"implement the \"javascript\" category","description":"Implement the components in the \"javascript\" category.","creator":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":7,"state":"open","created_at":"2016-01-30T12:05:03Z","updated_at":"2016-02-10T20:59:02Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-30T18:49:38Z","updated_at":"2016-02-12T21:36:16Z","closed_at":null,"body":"The sample to this needs [transitions](http://materializecss.com/transitions.html) implemented.\r\n\r\nThis is tricky. Although the original is imperative, I can imagine some (hopefully) nice declarative implementations.\r\n\r\nUsage example:\r\n```html\r\n<div md-scrollfire-target=\"offset: 50; callback.bind: staggerList()\">a list to be staggered</div>\r\n```\r\n\r\nScrollfire itself is perhaps best suited as a container attribute (or a service, but that's not so pretty):\r\n```html\r\n<div md-scrollfire>\r\n  <content-from-above />\r\n</div>\r\n```\r\n\r\nAll of the above is **untested**."},"comment":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/comments/183496872","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67#issuecomment-183496872","issue_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/67","id":183496872,"user":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T21:36:16Z","updated_at":"2016-02-12T21:36:16Z","body":"Of course it does not work that way. Which view model would be referenced if there is more than one?\r\nBut this:\r\n```javascript\r\nchild.au['my-attr'].viewModel\r\n```\r\n\r\nis imo still better than that:\r\n```javascript\r\ntarget.get(0).au['my-attr'].viewModel\r\n```\r\n\r\nand there's no jQuery required.\r\n"}}