mopig
V2EX  ›  Angular

鼠标滑过触发点击,与手点的效果不一致!

  •  
  •   mopig · Sep 9, 2015 via iPhone · 3144 views
    This topic created in 4093 days ago, the information mentioned may be changed or developed.
    html :
    <tab ng-mouseover="click ($event )"></tab>

    js:
    $scope.click = function (event ) {
    event.target.click ();
    };
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3215 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:12 · PVG 12:12 · LAX 20:12 · JFK 23:12
    ♥ Do have faith in what you're doing.