{"action":"closed","issue":{"url":"https://api.github.com/repos/aurelia/templating-binding/issues/94","repository_url":"https://api.github.com/repos/aurelia/templating-binding","labels_url":"https://api.github.com/repos/aurelia/templating-binding/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating-binding/issues/94/comments","events_url":"https://api.github.com/repos/aurelia/templating-binding/issues/94/events","html_url":"https://github.com/aurelia/templating-binding/issues/94","id":167469322,"number":94,"title":"Add support for binding to non-standard HTML attributes","user":{"login":"srowan","id":1874563,"avatar_url":"https://avatars.githubusercontent.com/u/1874563?v=3","gravatar_id":"","url":"https://api.github.com/users/srowan","html_url":"https://github.com/srowan","followers_url":"https://api.github.com/users/srowan/followers","following_url":"https://api.github.com/users/srowan/following{/other_user}","gists_url":"https://api.github.com/users/srowan/gists{/gist_id}","starred_url":"https://api.github.com/users/srowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowan/subscriptions","organizations_url":"https://api.github.com/users/srowan/orgs","repos_url":"https://api.github.com/users/srowan/repos","events_url":"https://api.github.com/users/srowan/events{/privacy}","received_events_url":"https://api.github.com/users/srowan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/templating-binding/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false},"assignees":[{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-25T21:24:01Z","updated_at":"2016-10-05T00:28:17Z","closed_at":"2016-10-05T00:28:17Z","body":"Consider the following scenario:  \r\n\r\nI am using an Aurelia view to render markup for a third party UI library.  I will use the specific case of google material design lite context menu as an example : https://getmdl.io/components/index.html#menus-section\r\n\r\nI've stripped out all but the relevant markup for an example that I expected to work for me:\r\n\r\n\r\n```\r\n<button id=\"${id}\">Open Menu</button>\r\n<ul for=\"${id}\">\r\n   <li>Menu Item</li>\r\n</ul>\r\n```\r\n\r\n\r\nAssociated stack overflow post:\r\n\r\nhttp://stackoverflow.com/questions/38571557/binding-to-arbitrary-or-nonstandard-attributes-in-aurelia/38574417#38574417\r\n\r\nAs a newcomer to Aurelia, it is not clear to me why I can't bind to the \"for\" attribute of the UL.  The workarounds are complex / difficult.   I was eventually able to figure out the custom attribute approach, but it wasn't easy and felt like a huge step back from durandal / knockout.\r\n\r\nI believe there needs to be out-of-the-box support for binding to arbitrary HTML attributes.\r\n"}}
{"actor":{"display_login":"jdanyow"}}