{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/1435","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/1435/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/1435/comments","events_url":"https://api.github.com/repos/angular/material/issues/1435/events","html_url":"https://github.com/angular/material/issues/1435","id":57011886,"number":1435,"title":"md-slider should have a option to update the model after the user has stopped sliding it.","user":{"login":"Darwesh27","id":4861876,"avatar_url":"https://avatars.githubusercontent.com/u/4861876?v=3","gravatar_id":"","url":"https://api.github.com/users/Darwesh27","html_url":"https://github.com/Darwesh27","followers_url":"https://api.github.com/users/Darwesh27/followers","following_url":"https://api.github.com/users/Darwesh27/following{/other_user}","gists_url":"https://api.github.com/users/Darwesh27/gists{/gist_id}","starred_url":"https://api.github.com/users/Darwesh27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darwesh27/subscriptions","organizations_url":"https://api.github.com/users/Darwesh27/orgs","repos_url":"https://api.github.com/users/Darwesh27/repos","events_url":"https://api.github.com/users/Darwesh27/events{/privacy}","received_events_url":"https://api.github.com/users/Darwesh27/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-02-09T10:20:41Z","updated_at":"2016-07-25T05:36:11Z","closed_at":"2015-02-09T15:01:34Z","body":"Right now when we slide the slider, the model value changes. But if that model value is bind to some variable on backend, then sliding it will cause a lot of server calls. I want the slider to update the server only when the user has set its value, and mouse has left."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/234844700","html_url":"https://github.com/angular/material/issues/1435#issuecomment-234844700","issue_url":"https://api.github.com/repos/angular/material/issues/1435","id":234844700,"user":{"login":"qoshi","id":3926792,"avatar_url":"https://avatars.githubusercontent.com/u/3926792?v=3","gravatar_id":"","url":"https://api.github.com/users/qoshi","html_url":"https://github.com/qoshi","followers_url":"https://api.github.com/users/qoshi/followers","following_url":"https://api.github.com/users/qoshi/following{/other_user}","gists_url":"https://api.github.com/users/qoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/qoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qoshi/subscriptions","organizations_url":"https://api.github.com/users/qoshi/orgs","repos_url":"https://api.github.com/users/qoshi/repos","events_url":"https://api.github.com/users/qoshi/events{/privacy}","received_events_url":"https://api.github.com/users/qoshi/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T05:36:11Z","updated_at":"2016-07-25T05:36:11Z","body":"@dbtek \r\nThis a very ugly implement for resolve this issue. I tried to using ng-change to resolve this issue, but I failed.\r\n1. ng-mouseup should be added at md-slider-container. This will expand the event to the whole slider area. When click other part inner slider container but not on slider itsself it will call the api and wast of some resource.\r\n2. When we want to type something into the input to modify the value, The stupid ng-mouseup won't fire.\r\n3. $watch is not the best practice for this issue."}}
{"actor":{"display_login":"qoshi"}}