{"action":"closed","issue":{"url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133","labels_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/comments","events_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/events","html_url":"https://github.com/ManuelDeLeon/viewmodel/issues/133","id":121447433,"number":133,"title":"class / text conditional switching","user":{"login":"daveeel","id":163661,"avatar_url":"https://avatars.githubusercontent.com/u/163661?v=3","gravatar_id":"","url":"https://api.github.com/users/daveeel","html_url":"https://github.com/daveeel","followers_url":"https://api.github.com/users/daveeel/followers","following_url":"https://api.github.com/users/daveeel/following{/other_user}","gists_url":"https://api.github.com/users/daveeel/gists{/gist_id}","starred_url":"https://api.github.com/users/daveeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveeel/subscriptions","organizations_url":"https://api.github.com/users/daveeel/orgs","repos_url":"https://api.github.com/users/daveeel/repos","events_url":"https://api.github.com/users/daveeel/events{/privacy}","received_events_url":"https://api.github.com/users/daveeel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-10T10:05:34Z","updated_at":"2015-12-12T03:45:25Z","closed_at":"2015-12-12T03:45:25Z","body":"I have something like the following. It's simply to switch different icon on one condition\r\n~~~\r\n.item-media\r\n  i($b=\"class: {ion-locked: gameLocked, ion-unlocked: gameOpen}\")\r\n~~~\r\ngameLocked and gameOpen are simple opposite conditions. Is it possible to do something like:\r\n~~~\r\n.item-media\r\n  i($b=\"class: {ion-locked: gameLocked, ion-unlocked: not gameLocked}\")\r\n~~~\r\n"}}