--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src_js/iconolab-bundle/src/components/collectionhome/tabselector/TabSelector.vue Thu Oct 06 15:07:50 2016 +0200
@@ -0,0 +1,24 @@
+<script>
+
+export default {
+ data () {
+ return {}
+ },
+ mounted () {
+ var self=this;
+ $(".collection-home-block:not(.selected)").hide();
+ },
+ methods: {
+ switchTab: function(name){
+ $(".collection-home-block").removeClass("selected");
+ $(".collection-home-block").hide();
+ $(".collection-home-tab").parent().removeClass("active");
+ $("#list-"+name).show();
+ $("#tab-"+name).addClass("active");
+
+ }
+ }
+}
+
+
+</script>
\ No newline at end of file