{"action":"created","issue":{"url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/2","repository_url":"https://api.github.com/repos/atayahmet/laravel-nestable","labels_url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/2/comments","events_url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/2/events","html_url":"https://github.com/atayahmet/laravel-nestable/issues/2","id":158513717,"number":2,"title":"Add Attributes to <ul> and <li>","user":{"login":"mostafaznv","id":7619687,"avatar_url":"https://avatars.githubusercontent.com/u/7619687?v=3","gravatar_id":"","url":"https://api.github.com/users/mostafaznv","html_url":"https://github.com/mostafaznv","followers_url":"https://api.github.com/users/mostafaznv/followers","following_url":"https://api.github.com/users/mostafaznv/following{/other_user}","gists_url":"https://api.github.com/users/mostafaznv/gists{/gist_id}","starred_url":"https://api.github.com/users/mostafaznv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostafaznv/subscriptions","organizations_url":"https://api.github.com/users/mostafaznv/orgs","repos_url":"https://api.github.com/users/mostafaznv/repos","events_url":"https://api.github.com/users/mostafaznv/events{/privacy}","received_events_url":"https://api.github.com/users/mostafaznv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-04T17:03:47Z","updated_at":"2016-06-13T21:20:23Z","closed_at":null,"body":"hi dear @atayahmet \r\ni want to add some attributes to `<ul>`\r\nbut i didn't see anything in documentation\r\n\r\nis it possible in this version?\r\nif it's not, how i can add this feature to the package?\r\n\r\n\r\n\r\n**edit:**\r\ni solved this by modifing `NestableService.php` (only worked for parent `ul`)\r\ni changed renderAsHtml by these codes:\r\n```\r\nif($first) {\r\n   $tree = $first ? '<ul '.$this->addAttributes().'>' : '';\r\n}\r\n```\r\n\r\nanyway i'm waiting for your update for this package ...\r\ni need attributes for `<ul>` and `<li>`\r\ni have a function to generate `ul` `li` for nav-menu \r\nso i need dynamic  attributes for nested `ul` and `li` \r\n"},"comment":{"url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/comments/225712213","html_url":"https://github.com/atayahmet/laravel-nestable/issues/2#issuecomment-225712213","issue_url":"https://api.github.com/repos/atayahmet/laravel-nestable/issues/2","id":225712213,"user":{"login":"atayahmet","id":1698044,"avatar_url":"https://avatars.githubusercontent.com/u/1698044?v=3","gravatar_id":"","url":"https://api.github.com/users/atayahmet","html_url":"https://github.com/atayahmet","followers_url":"https://api.github.com/users/atayahmet/followers","following_url":"https://api.github.com/users/atayahmet/following{/other_user}","gists_url":"https://api.github.com/users/atayahmet/gists{/gist_id}","starred_url":"https://api.github.com/users/atayahmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atayahmet/subscriptions","organizations_url":"https://api.github.com/users/atayahmet/orgs","repos_url":"https://api.github.com/users/atayahmet/repos","events_url":"https://api.github.com/users/atayahmet/events{/privacy}","received_events_url":"https://api.github.com/users/atayahmet/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T21:20:23Z","updated_at":"2016-06-13T21:20:23Z","body":"Hi @mostafaznv \r\nupdate package and try again.\r\n[6ea3e48](https://github.com/atayahmet/laravel-nestable/commit/6ea3e48506a91e29bc099d8ed050e2490e6bd3b6)"}}
{"actor":{"display_login":"atayahmet"}}