Team:ETH Zurich/labblog/buttons

From 2014.igem.org

(Difference between revisions)
Line 80: Line 80:
resize(true);
resize(true);
-
$('#Container').mixItUp();
+
$(function(){
 +
  $('#Container').mixItUp({
 +
    load: {
 +
      filter: ''
 +
    },
 +
    controls: {
 +
      toggleFilterButtons: true,
 +
      toggleLogic: 'and'
 +
    },
 +
    callbacks: {
 +
      onMixEnd: function(state){
 +
        console.log(state.activeFilter)
 +
      }
 +
    }
 +
  });
 +
 
 +
});
});
});

Revision as of 14:30, 11 October 2014