{"action":"closed","issue":{"url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/issues/1","repository_url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2","labels_url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/issues/1/comments","events_url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/issues/1/events","html_url":"https://github.com/JulioWar/jw-bootstrap-switch-ng2/issues/1","id":191533937,"number":1,"title":"Problem initialising","user":{"login":"tderoo","id":8360498,"avatar_url":"https://avatars.githubusercontent.com/u/8360498?v=3","gravatar_id":"","url":"https://api.github.com/users/tderoo","html_url":"https://github.com/tderoo","followers_url":"https://api.github.com/users/tderoo/followers","following_url":"https://api.github.com/users/tderoo/following{/other_user}","gists_url":"https://api.github.com/users/tderoo/gists{/gist_id}","starred_url":"https://api.github.com/users/tderoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tderoo/subscriptions","organizations_url":"https://api.github.com/users/tderoo/orgs","repos_url":"https://api.github.com/users/tderoo/repos","events_url":"https://api.github.com/users/tderoo/events{/privacy}","received_events_url":"https://api.github.com/users/tderoo/received_events","type":"User","site_admin":false},"labels":[{"id":474033640,"url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/labels/bug","name":"bug","color":"ee0701","default":true},{"id":474033642,"url":"https://api.github.com/repos/JulioWar/jw-bootstrap-switch-ng2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-24T14:33:30Z","updated_at":"2016-12-01T16:56:01Z","closed_at":"2016-12-01T16:56:01Z","body":"Have been experimenting in Chrome browser for a couple of hours and cannot get the switch to initialise directly. The buttons show up in the initial view but the state seems to be undecided (on and off both visible). \r\n\r\n![image](https://cloud.githubusercontent.com/assets/8360498/20601788/9f82beb6-b25a-11e6-8381-58cf79757175.png)\r\n\r\nHave even tried to use a constant ngModel true or false with the same effect. The moment I hover the mouse over the control it suddenly initialises and jumps into the on or off view. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/8360498/20601896/2aecb6b4-b25b-11e6-9b84-f7d1937c2530.png)\r\n\r\n`        <bSwitch id=\"summaryOnly\"\r\n                 [ngModel]=\"(state$|async).reportParam.summaryOnly\"\r\n                 (onChangeState)=\"toggleShowSummaryOnly($event.currentValue)\"\r\n                 [switch-label-width]=\"30\"\r\n                 [switch-handle-width]=\"60\"\r\n                 title=\"Run the report in summary only mode\"></bSwitch>`\r\n\r\nAlso the switch-label-width attribute does not seem to work the same as on the demo site http://www.bootstrap-switch.org/examples.html. Would want it to be about half the size of the label."}}
{"actor":{"display_login":"JulioWar"}}