Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the mouse pointer on ngclick

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 change it through CSS? I know I can simply attach an anchor tag to it, but I would like to know if this can be done.

like image 702
skmvasu Avatar asked Sep 19 '13 14:09

skmvasu


People also ask

How do I change my mouse cursor from hand to arrow?

Type mouse in the search box and select Mouse in the results to open Mouse Properties. Tap Pointers, click down arrow, choose a scheme from the list and select OK.

How do I customize my mouse pointer in Windows 11?

Fortunately, you can do this in Windows 11, and here is how. Access the Mouse properties menu like earlier shown and navigate to the Pointers sub-menu. Select the cursor you would like to change in the Customize menu and click Browse.


1 Answers

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; } 
like image 180
André Dion Avatar answered Oct 21 '22 00:10

André Dion