@doku-dev/doku-fragment
Version:
A new Angular UI library that moving away from Bootstrap and built from scratch.
27 lines (26 loc) • 964 B
TypeScript
import { NgClass } from '@angular/common';
import { ElementRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class DokuAlert {
private elementRef;
protected readonly hostClasses: NgClass['ngClass'];
/**
* @default 'neutral'
*/
state: 'neutral' | 'success' | 'warning' | 'error';
/**
* Whether alert can be dismissed.
* @default false
*/
dismissible: boolean;
/**
* Whether alert should have full width.
*/
fullWidth: boolean;
dismissed: EventEmitter<any>;
constructor(elementRef: ElementRef);
protected get classes(): NgClass['ngClass'];
dismiss(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DokuAlert, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DokuAlert, "doku-alert", ["dokuAlert"], { "state": "state"; "dismissible": "dismissible"; "fullWidth": "fullWidth"; }, { "dismissed": "dismissed"; }, never, ["*"], true>;
}