{"action":"created","issue":{"url":"https://api.github.com/repos/Mango/slideout/issues/258","repository_url":"https://api.github.com/repos/Mango/slideout","labels_url":"https://api.github.com/repos/Mango/slideout/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/Mango/slideout/issues/258/comments","events_url":"https://api.github.com/repos/Mango/slideout/issues/258/events","html_url":"https://github.com/Mango/slideout/issues/258","id":287448296,"number":258,"title":"How can i import to angular 5 component?","user":{"login":"oalkandev","id":31579802,"avatar_url":"https://avatars1.githubusercontent.com/u/31579802?v=4","gravatar_id":"","url":"https://api.github.com/users/oalkandev","html_url":"https://github.com/oalkandev","followers_url":"https://api.github.com/users/oalkandev/followers","following_url":"https://api.github.com/users/oalkandev/following{/other_user}","gists_url":"https://api.github.com/users/oalkandev/gists{/gist_id}","starred_url":"https://api.github.com/users/oalkandev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oalkandev/subscriptions","organizations_url":"https://api.github.com/users/oalkandev/orgs","repos_url":"https://api.github.com/users/oalkandev/repos","events_url":"https://api.github.com/users/oalkandev/events{/privacy}","received_events_url":"https://api.github.com/users/oalkandev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-10T14:16:34Z","updated_at":"2018-03-16T04:01:30Z","closed_at":null,"author_association":"NONE","body":"i can do install with npm and set script angular-cli.json but i dont know how to initialize in angular5 component .ts file? Would you like help me please?"},"comment":{"url":"https://api.github.com/repos/Mango/slideout/issues/comments/373596946","html_url":"https://github.com/Mango/slideout/issues/258#issuecomment-373596946","issue_url":"https://api.github.com/repos/Mango/slideout/issues/258","id":373596946,"user":{"login":"bravik","id":1075618,"avatar_url":"https://avatars0.githubusercontent.com/u/1075618?v=4","gravatar_id":"","url":"https://api.github.com/users/bravik","html_url":"https://github.com/bravik","followers_url":"https://api.github.com/users/bravik/followers","following_url":"https://api.github.com/users/bravik/following{/other_user}","gists_url":"https://api.github.com/users/bravik/gists{/gist_id}","starred_url":"https://api.github.com/users/bravik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bravik/subscriptions","organizations_url":"https://api.github.com/users/bravik/orgs","repos_url":"https://api.github.com/users/bravik/repos","events_url":"https://api.github.com/users/bravik/events{/privacy}","received_events_url":"https://api.github.com/users/bravik/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T04:01:30Z","updated_at":"2018-03-16T04:01:30Z","author_association":"NONE","body":"Install typescript types for slideout: `npm install --save @types/slideout`\r\nthen import it in your component:\r\n`import * as Slideout from 'slideout';`\r\n\r\n```\r\n ngOnInit() {\r\n        this.slideout = new Slideout({\r\n            'panel': document.getElementById('panel'),\r\n            'menu': document.getElementById('menu'),\r\n            'padding': 256,\r\n            'tolerance': 70\r\n        });\r\n    }\r\n```"}}
{"actor":{"display_login":"bravik"}}