mopig
V2EX  ›  Angular

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

  •  
  •   mopig · Sep 9, 2015 via iPhone · 2787 views
    This topic created in 3919 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   ·   Solana   ·   3181 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 93c8b4a0 · 42ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    ♥ Do have faith in what you're doing.