@sixbell-telco/sdk
Version:
A collection of reusable components designed for use in Sixbell Telco Angular projects
23 lines (22 loc) • 653 B
TypeScript
import * as i0 from "@angular/core";
/**
* Service to manage dropdown menu state
* Used by dropdown menu components to communicate state to chevron
*/
export declare class DropdownMenuStateService {
private readonly _isOpen;
/**
* Current open state of the dropdown menu
*/
readonly isOpen: import("@angular/core").Signal<boolean>;
/**
* Set the open state
*/
setOpen(open: boolean): void;
/**
* Toggle the open state
*/
toggle(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuStateService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DropdownMenuStateService>;
}