Change the mouse pointer on ngclick

前端 未结 5 1554
南旧
南旧 2021-02-03 17:03

I\'ve a div with the Angular ng-click directive attached to it. On hovering over this element the mouse pointer doesn\'t change. Is there a way to chan

5条回答
  •  青春惊慌失措
    2021-02-03 17:50

    Is there a way to change it through css?

    Yes, see cursor.

    If you just wanted to target elements with the ng-click attribute, for example:

    [ng-click],
    [data-ng-click],
    [x-ng-click] {
        cursor: pointer;
    }
    

提交回复
热议问题