bootstrap-paginator icon indicating copy to clipboard operation
bootstrap-paginator copied to clipboard

Set mouse hover to pointer, thnx.

Open bryanestrito opened this issue 11 years ago • 2 comments

bryanestrito avatar Feb 07 '14 06:02 bryanestrito

var options = {
    currentPage: 3,
    totalPages: 10,
    itemContainerClass: function (type, page, current) {
        return (page === current) ? "active" : "pointer-cursor";
    }
};

$('#example').bootstrapPaginator(options);

Taken directly from the documentation. Source: http://lyonlai.github.io/bootstrap-paginator/

jmshal avatar Jun 24 '14 08:06 jmshal

@jacobmarshall This does work but the documentation fails to mention that you have to add the class to the CSS yourself. (Bootstrap doesn't have a .pointer-cursor class)

@brynzky You have to add the following to your pages CSS file

.pointer-cursor {
    cursor: pointer;
}

EDIT: I know this is an old Issue, but I figured this needed to be stated since the documentation doesn't really make a mention of it.

Also Wouldn't it make more sense that by default the non active elements have the Pointer Cursor? That is the expected behavior after all.

birdwing avatar Apr 22 '15 14:04 birdwing