{"action":"opened","issue":{"url":"https://api.github.com/repos/sole/mindblown.js/issues/16","repository_url":"https://api.github.com/repos/sole/mindblown.js","labels_url":"https://api.github.com/repos/sole/mindblown.js/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/sole/mindblown.js/issues/16/comments","events_url":"https://api.github.com/repos/sole/mindblown.js/issues/16/events","html_url":"https://github.com/sole/mindblown.js/issues/16","id":180254601,"number":16,"title":"Maybe implement a pure \"HTML interface\"","user":{"login":"sole","id":5609,"avatar_url":"https://avatars.githubusercontent.com/u/5609?v=3","gravatar_id":"","url":"https://api.github.com/users/sole","html_url":"https://github.com/sole","followers_url":"https://api.github.com/users/sole/followers","following_url":"https://api.github.com/users/sole/following{/other_user}","gists_url":"https://api.github.com/users/sole/gists{/gist_id}","starred_url":"https://api.github.com/users/sole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sole/subscriptions","organizations_url":"https://api.github.com/users/sole/orgs","repos_url":"https://api.github.com/users/sole/repos","events_url":"https://api.github.com/users/sole/events{/privacy}","received_events_url":"https://api.github.com/users/sole/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-30T09:02:02Z","updated_at":"2016-09-30T09:02:02Z","closed_at":null,"body":"Right now people have to call the MindBlown object, attach a listener to detect when slides are loaded, etc.\r\n\r\nIt could be interesting to have MindBlown have a look at the DOM elements on the document and if there's any canvas element with certain `data-` attributes, auto-initialise the slides. For example:\r\n\r\n```html\r\n<canvas data-mindblown-target data-mindblown-selector=\"#slides section\">\r\n</canvas>\r\n```\r\n\r\nThis is saying \"this canvas is the target for mindblown\" and also \"this is the selector you should use\". `mindblown.js` should then create the slides object and etc.\r\n\r\nIssues with this: there's no keyboard or mouse controls by default. So the slides would be useless. Or maybe there could be a built-in interface overlay when using MindBlown in this mode.\r\n\r\nOr maybe this could be another library that builds on top of `mindblown.js`, like `mindblown.html`?"}}
{"actor":{"display_login":"sole"}}