ngx-bootstrap
Version:
Angular Bootstrap
1 lines • 1.47 kB
Source Map (JSON)
{"version":3,"file":"alert.component.d.ts","sources":["alert.component.d.ts"],"names":[],"mappings":"AAAA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';\nimport { AlertConfig } from './alert.config';\nexport declare class AlertComponent implements OnInit {\n private changeDetection;\n /** Alert type.\n * Provides one of four bootstrap supported contextual classes:\n * `success`, `info`, `warning` and `danger`\n */\n type: string;\n /** If set, displays an inline \"Close\" button */\n dismissible: boolean;\n /** Number in milliseconds, after which alert will be closed */\n dismissOnTimeout?: number | string;\n /** Is alert visible */\n isOpen: boolean;\n /** This event fires immediately after close instance method is called,\n * $event is an instance of Alert component.\n */\n onClose: EventEmitter<AlertComponent>;\n /** This event fires when alert closed, $event is an instance of Alert component */\n onClosed: EventEmitter<AlertComponent>;\n classes: string;\n dismissibleChange: EventEmitter<boolean>;\n constructor(_config: AlertConfig, changeDetection: ChangeDetectorRef);\n ngOnInit(): void;\n /**\n * Closes an alert by removing it from the DOM.\n */\n close(): void;\n}\n"]}