Just learning meteor to build my first real app. As part of that I am using Meteoric, a package that brings the Ionic framework to meteor. I don’t know Ionic either, it jsut seemed like a good ideal. So I am learning Metoer,Ionic & Meteoric all at the same time.
I really like the graphic style of the tabs interface that Ionic provides and I am using in on one of my pages. However, I don’t need it to load 3 different pages, I am just using the tabs as a 3 position toggle: Ban, Allow, Require. When a tab is pressed all I want is that attirbut to be changed in that record in mongo. (and reflect the current state of that toggle).
Currently what I am doing is I have 3 different paths in iron router that all point to the same template. This is mostly working but this feels like it is not the right way to do this. There feels like there must be a direct way to just use the tabs style with just binding a data-action to the button without providing a path and setting things as active but I am uncertain…so I am posting a question here. (didn’t feel like I should post it in the meteoric issue tracker, since I assume it is just something about my not understanding how everything works)
thanks in advance!