{"action":"closed","issue":{"url":"https://api.github.com/repos/rstoenescu/quasar-framework/issues/50","repository_url":"https://api.github.com/repos/rstoenescu/quasar-framework","labels_url":"https://api.github.com/repos/rstoenescu/quasar-framework/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rstoenescu/quasar-framework/issues/50/comments","events_url":"https://api.github.com/repos/rstoenescu/quasar-framework/issues/50/events","html_url":"https://github.com/rstoenescu/quasar-framework/issues/50","id":173408380,"number":50,"title":"Quasar-tabs: how to dynamically change opened tab ?","user":{"login":"mlenormand","id":2403897,"avatar_url":"https://avatars.githubusercontent.com/u/2403897?v=3","gravatar_id":"","url":"https://api.github.com/users/mlenormand","html_url":"https://github.com/mlenormand","followers_url":"https://api.github.com/users/mlenormand/followers","following_url":"https://api.github.com/users/mlenormand/following{/other_user}","gists_url":"https://api.github.com/users/mlenormand/gists{/gist_id}","starred_url":"https://api.github.com/users/mlenormand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlenormand/subscriptions","organizations_url":"https://api.github.com/users/mlenormand/orgs","repos_url":"https://api.github.com/users/mlenormand/repos","events_url":"https://api.github.com/users/mlenormand/events{/privacy}","received_events_url":"https://api.github.com/users/mlenormand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rstoenescu/quasar-framework/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T09:23:31Z","updated_at":"2016-08-27T19:59:41Z","closed_at":"2016-08-27T19:59:41Z","body":"WIth quasar-tabs component, how can we set the active tab ?\r\nThis snipped doesn't work for me : \r\n\r\n```\r\n<quasar-tab icon=\"menu\" :active=\"selectedTab == 'main'\" target=\"#tab-main\">\r\nMain menu\r\n</quasar-tab>\r\n<quasar-tab icon=\"search\" :active=\"selectedTab == 'search'\" target=\"#tab-search\">\r\nSearch\r\n</quasar-tab>\r\n```\r\n\r\nThe search tab is shown the first time we set selectedTab to \"search\" value, but not the following ones.\r\nAnd how to know which quasar-tab is currently shown ? Maybe by providing the quasar-tab component a 'selectedTab' prop that it has to automatically fill with the quasar-tab id/reference or something else.\r\n\r\nMy use case : programmatically change the selected tab by setting a component data."}}
{"actor":{"display_login":"rstoenescu"}}