Skip to content

mnenm/switchCurrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

select current block by radiobutton

[USAGE] switchCurrent
$(function(){
  $('#root-element').switchCurrent({
    onDisable: function(elem){
      elem.parent().parent().removeClass('selected');
    }, 
    onEnable: function(elem){
      elem.parent().parent().addClass('selected');
    }
  });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published