Skip to content

Instantly share code, notes, and snippets.

@devgeeks
Created June 15, 2012 04:35
Show Gist options
  • Save devgeeks/2934680 to your computer and use it in GitHub Desktop.
Save devgeeks/2934680 to your computer and use it in GitHub Desktop.
Attempted Harp.ui panel toggling button
$('.btn.closex').bind('tap',function(){
panel.close();
$(this).removeClass('closex').addClass('openx');
});
$('.btn.openx').bind('tap',function(e){
panel.open({direction:'right'});
$(this).removeClass('openx').addClass('closex');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment