{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/256","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5-core","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/256/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/256/events","html_url":"https://github.com/ckeditor/ckeditor5-core/issues/256","id":139907898,"number":256,"title":"Extend View Element class.","user":{"login":"pjasiun","id":1166967,"avatar_url":"https://avatars.githubusercontent.com/u/1166967?v=3","gravatar_id":"","url":"https://api.github.com/users/pjasiun","html_url":"https://github.com/pjasiun","followers_url":"https://api.github.com/users/pjasiun/followers","following_url":"https://api.github.com/users/pjasiun/following{/other_user}","gists_url":"https://api.github.com/users/pjasiun/gists{/gist_id}","starred_url":"https://api.github.com/users/pjasiun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjasiun/subscriptions","organizations_url":"https://api.github.com/users/pjasiun/orgs","repos_url":"https://api.github.com/users/pjasiun/repos","events_url":"https://api.github.com/users/pjasiun/events{/privacy}","received_events_url":"https://api.github.com/users/pjasiun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ckeditor/ckeditor5-core/labels/module:treeview","name":"module:treeview","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"szymonkups","id":2396463,"avatar_url":"https://avatars.githubusercontent.com/u/2396463?v=3","gravatar_id":"","url":"https://api.github.com/users/szymonkups","html_url":"https://github.com/szymonkups","followers_url":"https://api.github.com/users/szymonkups/followers","following_url":"https://api.github.com/users/szymonkups/following{/other_user}","gists_url":"https://api.github.com/users/szymonkups/gists{/gist_id}","starred_url":"https://api.github.com/users/szymonkups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymonkups/subscriptions","organizations_url":"https://api.github.com/users/szymonkups/orgs","repos_url":"https://api.github.com/users/szymonkups/repos","events_url":"https://api.github.com/users/szymonkups/events{/privacy}","received_events_url":"https://api.github.com/users/szymonkups/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-core/milestones/1","html_url":"https://github.com/ckeditor/ckeditor5-core/milestones/0.1.0","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/milestones/1/labels","id":1622150,"number":1,"title":"0.1.0","description":"First demoable version.","creator":{"login":"Reinmar","id":156149,"avatar_url":"https://avatars.githubusercontent.com/u/156149?v=3","gravatar_id":"","url":"https://api.github.com/users/Reinmar","html_url":"https://github.com/Reinmar","followers_url":"https://api.github.com/users/Reinmar/followers","following_url":"https://api.github.com/users/Reinmar/following{/other_user}","gists_url":"https://api.github.com/users/Reinmar/gists{/gist_id}","starred_url":"https://api.github.com/users/Reinmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reinmar/subscriptions","organizations_url":"https://api.github.com/users/Reinmar/orgs","repos_url":"https://api.github.com/users/Reinmar/repos","events_url":"https://api.github.com/users/Reinmar/events{/privacy}","received_events_url":"https://api.github.com/users/Reinmar/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":116,"state":"open","created_at":"2016-03-04T12:57:09Z","updated_at":"2016-03-15T17:09:42Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-10T14:44:06Z","updated_at":"2016-03-16T10:42:27Z","closed_at":null,"body":"View element class is missing multiple methods. The most important are to get classes and styles as collections, because now they are returned only as regular attributes.\r\n\r\nWe could also check DOM Element API and CKEditor 4 element API to ensure that there is not important methods missing."},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/comments/197256183","html_url":"https://github.com/ckeditor/ckeditor5-core/issues/256#issuecomment-197256183","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/256","id":197256183,"user":{"login":"szymonkups","id":2396463,"avatar_url":"https://avatars.githubusercontent.com/u/2396463?v=3","gravatar_id":"","url":"https://api.github.com/users/szymonkups","html_url":"https://github.com/szymonkups","followers_url":"https://api.github.com/users/szymonkups/followers","following_url":"https://api.github.com/users/szymonkups/following{/other_user}","gists_url":"https://api.github.com/users/szymonkups/gists{/gist_id}","starred_url":"https://api.github.com/users/szymonkups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymonkups/subscriptions","organizations_url":"https://api.github.com/users/szymonkups/orgs","repos_url":"https://api.github.com/users/szymonkups/repos","events_url":"https://api.github.com/users/szymonkups/events{/privacy}","received_events_url":"https://api.github.com/users/szymonkups/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T10:42:26Z","updated_at":"2016-03-16T10:42:26Z","body":"Starting with classes. Each access to classes should be synchronized with `class` attribute. Should we always operate directly on this attribute, eg. create `hasClass` / `removeClass` methods that parse `class` attribute each time it is called. Maybe we can follow native API and create `ClassList` that will internally store the class list? It will update `class` attribute when it is needed and update itself when `class` attribute is accessed directly?\r\n"}}