search

Home  >  Q&A  >  body text

angular.js - anchor()的用法

            anchor=$("body").anchor();
            anchor.shop("on", function(){
                location.href="cart.jsp";
            },3);
    
            anchor.user("on", function(){
                    function1();
            });
    
            anchor.index("on", function(){
                if(true){
                    location.href=path+"/";
                }else{
                    funcrion2();
                }
                
            });
            
            
            这以上的都是什么意思呀??
天蓬老师天蓬老师2744 days ago476

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-15 17:05:04

    anchor看起来是个jquery的插件,通篇和angularjs没什么关系,你从哪找的这个jquery plugin? Let’s go read his documents

    reply
    0
  • Cancelreply