{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic-site/issues/503","repository_url":"https://api.github.com/repos/driftyco/ionic-site","labels_url":"https://api.github.com/repos/driftyco/ionic-site/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-site/issues/503/comments","events_url":"https://api.github.com/repos/driftyco/ionic-site/issues/503/events","html_url":"https://github.com/driftyco/ionic-site/issues/503","id":140486133,"number":503,"title":"ShowWhen/HideWhen browser v2","user":{"login":"jasperkuperus","id":1655683,"avatar_url":"https://avatars.githubusercontent.com/u/1655683?v=3","gravatar_id":"","url":"https://api.github.com/users/jasperkuperus","html_url":"https://github.com/jasperkuperus","followers_url":"https://api.github.com/users/jasperkuperus/followers","following_url":"https://api.github.com/users/jasperkuperus/following{/other_user}","gists_url":"https://api.github.com/users/jasperkuperus/gists{/gist_id}","starred_url":"https://api.github.com/users/jasperkuperus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasperkuperus/subscriptions","organizations_url":"https://api.github.com/users/jasperkuperus/orgs","repos_url":"https://api.github.com/users/jasperkuperus/repos","events_url":"https://api.github.com/users/jasperkuperus/events{/privacy}","received_events_url":"https://api.github.com/users/jasperkuperus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-13T13:33:25Z","updated_at":"2016-03-13T13:33:25Z","closed_at":null,"body":"I was playing with `showWhen` and thought I'd had my bases covered with this snippet:\r\n\r\n```\r\n<span primary showWhen=\"ios\">Cancel</span>\r\n<ion-icon name=\"md-close\" showWhen=\"android,windows\"></ion-icon>\r\n```\r\n\r\nHowever, testing _in the browser_ did not show anything, even though the class `ios` is on the body. Upon further investigation, I got it to work using `showWhen=\"ios,core\"`.\r\n\r\nThe `Platform` documentation is quite straightforward, but leaves some room for interpretation on `core`. I had to test on some devices to find out whether `core` was something that's always applicable, or only in the browser. The latter seems to be the case.\r\n\r\nAlso, a link from the `hideWhen` and `showWhen` documentation to the `Platform` documentation might be a welcome addition as I was not yet aware of there being more platforms than the ones demonstrated in those examples."}}