{"action":"closed","issue":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/405","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/405/comments","events_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/405/events","html_url":"https://github.com/algolia/instantsearch.js/issues/405","id":114606709,"number":405,"title":"API proposal: clearAll","user":{"login":"Jerskouille","id":5095856,"avatar_url":"https://avatars.githubusercontent.com/u/5095856?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerskouille","html_url":"https://github.com/Jerskouille","followers_url":"https://api.github.com/users/Jerskouille/followers","following_url":"https://api.github.com/users/Jerskouille/following{/other_user}","gists_url":"https://api.github.com/users/Jerskouille/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerskouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerskouille/subscriptions","organizations_url":"https://api.github.com/users/Jerskouille/orgs","repos_url":"https://api.github.com/users/Jerskouille/repos","events_url":"https://api.github.com/users/Jerskouille/events{/privacy}","received_events_url":"https://api.github.com/users/Jerskouille/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/algolia/instantsearch.js/labels/new%20widget","name":"new widget","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"Jerskouille","id":5095856,"avatar_url":"https://avatars.githubusercontent.com/u/5095856?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerskouille","html_url":"https://github.com/Jerskouille","followers_url":"https://api.github.com/users/Jerskouille/followers","following_url":"https://api.github.com/users/Jerskouille/following{/other_user}","gists_url":"https://api.github.com/users/Jerskouille/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerskouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerskouille/subscriptions","organizations_url":"https://api.github.com/users/Jerskouille/orgs","repos_url":"https://api.github.com/users/Jerskouille/repos","events_url":"https://api.github.com/users/Jerskouille/events{/privacy}","received_events_url":"https://api.github.com/users/Jerskouille/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/algolia/instantsearch.js/milestones/4","html_url":"https://github.com/algolia/instantsearch.js/milestones/1.0.0","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/milestones/4/labels","id":1369947,"number":4,"title":"1.0.0","description":"","creator":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":54,"state":"open","created_at":"2015-10-22T09:45:52Z","updated_at":"2015-11-16T12:46:31Z","due_on":"2015-11-12T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-11-02T14:40:51Z","updated_at":"2015-11-16T12:46:31Z","closed_at":"2015-11-16T12:46:31Z","body":"Follow up of #112 and #359 :\r\n\r\n```js\r\ninstantsearch.widgets.clearAllRefinedValues({\r\n  container: '#clear-all-link',\r\n  cssClasses: {root, header, body, link, footer},\r\n  templates: {\r\n    header: '',\r\n    link: '<a class=\"{{ cssClasses.link }}\" href=\"{{url}}\">Clear all</a>', // Called with {cssClasses, url}\r\n    footer: ''\r\n  },\r\n  autoHideContainer: true\r\n})\r\n```"}}