UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

24 lines (23 loc) 991 B
import { Highlightable } from "@angular/cdk/a11y"; import { ElementRef } from "@angular/core"; import { IOption } from "../types"; import * as i0 from "@angular/core"; /** * @ignore */ export declare class OverlayItemComponent implements Highlightable, IOption { element: ElementRef<HTMLElement>; /** Whether the Item is active */ active: boolean; /** Whether the Item is disabled */ isDisabled: boolean; constructor(element: ElementRef<HTMLElement>); /** Applies active class */ setActiveStyles(): void; /** Removes active class */ setInactiveStyles(): void; /** Scrolls to the Item inside scrollable container */ scrollIntoView(options?: ScrollIntoViewOptions): void; static ɵfac: i0.ɵɵFactoryDeclaration<OverlayItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<OverlayItemComponent, "nui-overlay-item", never, { "isDisabled": { "alias": "isDisabled"; "required": false; }; }, {}, never, ["*"], false, never>; }