Change the mouse pointer on ngclick
Solution 1:
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;
}
Solution 2:
All you have to do is use the cursor property
<div data-ng-click="myFun()" class="pointer"></div>
.pointer {
cursor: pointer;
}
Solution 3:
Can be done via css, just add:
.yourClass { cursor: pointer; }
To your stylesheet
Solution 4:
If you are using datatables, you have to override the default datatables.css settings and add the following code to custom CSS, In the code below row-select is the class that I added on datatables in my HTML page.
table.row-select.dataTable tbody td
{
cursor: pointer;
}