ngx-cursor-hover
Version:
The CSS cursor property specifies the mouse cursor to be displayed when pointing over an element. It can be used to change the cursor to a variety of different shapes, such as a hand, a crosshair, or an arrow.
15 lines (12 loc) • 580 B
TypeScript
import * as i0 from '@angular/core';
import { AfterViewInit, ElementRef } from '@angular/core';
declare class NgxCursorHoverDirective implements AfterViewInit {
private el;
cursor: string;
private element;
constructor(el: ElementRef);
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxCursorHoverDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxCursorHoverDirective, "[ngxCursor]", never, { "cursor": { "alias": "cursor"; "required": false; }; }, {}, never, never, true, never>;
}
export { NgxCursorHoverDirective };