{"action":"created","issue":{"url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/16","repository_url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop","labels_url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/16/comments","events_url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/16/events","html_url":"https://github.com/james2doyle/vue-drag-and-drop/issues/16","id":181591200,"number":16,"title":"support draggable and droppable when drag or drag is used only","user":{"login":"Jerret321","id":2155745,"avatar_url":"https://avatars.githubusercontent.com/u/2155745?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerret321","html_url":"https://github.com/Jerret321","followers_url":"https://api.github.com/users/Jerret321/followers","following_url":"https://api.github.com/users/Jerret321/following{/other_user}","gists_url":"https://api.github.com/users/Jerret321/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerret321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerret321/subscriptions","organizations_url":"https://api.github.com/users/Jerret321/orgs","repos_url":"https://api.github.com/users/Jerret321/repos","events_url":"https://api.github.com/users/Jerret321/events{/privacy}","received_events_url":"https://api.github.com/users/Jerret321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-07T06:00:48Z","updated_at":"2016-10-07T14:16:34Z","closed_at":null,"body":"```javascript\r\n<li class=\"item\" id=\"{{$index}}\" v-for=\"item in list\"\r\n        v-drag-and-drop\r\n        drag-start=\"handleDragStart\"\r\n        drag-over=\"handleDragOver\"\r\n        drag-enter=\"handleDragEnter\"\r\n        drag-leave=\"handleDragLeave\"\r\n        drag-end=\"handleDragEnd\"\r\n        drop=\"handleDrop\"\r\n        drag=\"handleDrag\",\r\n        draggable=\"true\",\r\n        droppable=\"false\"\r\n    >\r\n      <span>{{item.name}}</span>\r\n    </li>\r\n```\r\n\r\nwhen `draggbale` is false, the element can not be dragged;\r\nwhen `droppable` is false, the element can not be dropped,\r\nthe option `draggble` and `droppable` is both default true "},"comment":{"url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/comments/252263939","html_url":"https://github.com/james2doyle/vue-drag-and-drop/issues/16#issuecomment-252263939","issue_url":"https://api.github.com/repos/james2doyle/vue-drag-and-drop/issues/16","id":252263939,"user":{"login":"Jerret321","id":2155745,"avatar_url":"https://avatars.githubusercontent.com/u/2155745?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerret321","html_url":"https://github.com/Jerret321","followers_url":"https://api.github.com/users/Jerret321/followers","following_url":"https://api.github.com/users/Jerret321/following{/other_user}","gists_url":"https://api.github.com/users/Jerret321/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerret321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerret321/subscriptions","organizations_url":"https://api.github.com/users/Jerret321/orgs","repos_url":"https://api.github.com/users/Jerret321/repos","events_url":"https://api.github.com/users/Jerret321/events{/privacy}","received_events_url":"https://api.github.com/users/Jerret321/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T14:16:34Z","updated_at":"2016-10-07T14:16:34Z","body":"Yes, a single element can be used as the draggable or droppable. "}}
{"actor":{"display_login":"Jerret321"}}