ng2-bs3-modal
- Version 0.15.0
- Published
- 502 kB
- 1 dependency
- ISC license
Install
npm i ng2-bs3-modalyarn add ng2-bs3-modalpnpm add ng2-bs3-modalOverview
Angular Boostrap 3 Modal Component
Index
Classes
Interfaces
Enums
Classes
class BsModalBodyComponent
class BsModalBodyComponent {}class BsModalComponent
class BsModalComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {}constructor
constructor(element: ElementRef, service: BsModalService, zone: NgZone);property animation
animation: boolean;property backdrop
backdrop: string | boolean;property cssClass
cssClass: string;property fadeClass
readonly fadeClass: boolean;property hiding
hiding: boolean;property keyboard
keyboard: boolean;property modalClass
readonly modalClass: boolean;property onClose
onClose: EventEmitter<any>;property onDismiss
onDismiss: EventEmitter<BsModalHideType>;property onHide
onHide: EventEmitter<any>;property onLoaded
onLoaded: EventEmitter<any>;property onOpen
onOpen: EventEmitter<any>;property onShow
onShow: EventEmitter<Event>;property roleAttr
readonly roleAttr: string;property showing
showing: boolean;property size
size: string;property tabindexAttr
readonly tabindexAttr: string;property visible
visible: boolean;method close
close: (value?: any) => Promise<{}>;method dismiss
dismiss: () => Promise<{}>;method focus
focus: () => void;method getCssClasses
getCssClasses: () => string;method ngAfterViewInit
ngAfterViewInit: () => void;method ngOnChanges
ngOnChanges: () => void;method ngOnDestroy
ngOnDestroy: () => Promise<BsModalHideType>;method ngOnInit
ngOnInit: () => void;method open
open: (size?: string) => Promise<any>;method routerCanDeactivate
routerCanDeactivate: () => any;class BsModalFooterComponent
class BsModalFooterComponent {}constructor
constructor(modal: BsModalComponent);property closeButtonLabel
closeButtonLabel: string;property dismissButtonLabel
dismissButtonLabel: string;property modal
modal: BsModalComponent;property showDefaultButtons
showDefaultButtons: boolean;class BsModalHeaderComponent
class BsModalHeaderComponent {}constructor
constructor(modal: BsModalComponent);property modal
modal: BsModalComponent;property showDismiss
showDismiss: boolean;class BsModalModule
class BsModalModule {}class BsModalService
class BsModalService {}constructor
constructor();property onBackdropClose$
onBackdropClose$: Observable<BsModalHideType>;property onKeyboardClose$
onKeyboardClose$: Observable<BsModalHideType>;property onModalStack$
onModalStack$: Observable<Event>;method add
add: (modal: BsModalComponent) => void;method dismissAll
dismissAll: () => Promise<{}[]>;method focusNext
focusNext: () => void;method remove
remove: (modal: BsModalComponent) => void;class BsModalSize
class BsModalSize {}property Large
static Large: string;property Small
static Small: string;method isValidSize
static isValidSize: (size: string) => boolean;class ɵa
class BsAutofocusDirective {}constructor
constructor(el: ElementRef, modal: BsModalComponent);Interfaces
interface BsModalHideEvent
interface BsModalHideEvent {}interface BsModalOptions
interface BsModalOptions {}Enums
enum BsModalHideType
enum BsModalHideType { Close = 0, Dismiss = 1, Backdrop = 2, Keyboard = 3, RouteChange = 4, Destroy = 5,}Package Files (12)
- autofocus/autofocus.directive.d.ts
- modal.module.d.ts
- modal/body.component.d.ts
- modal/footer.component.d.ts
- modal/header.component.d.ts
- modal/modal.component.d.ts
- modal/modal.service.d.ts
- modal/models/modal-hide-event.d.ts
- modal/models/modal-hide-type.d.ts
- modal/models/modal-options.d.ts
- modal/models/modal-size.d.ts
- ng2-bs3-modal.d.ts
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (5)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/ng2-bs3-modal.
- Markdown[](https://www.jsdocs.io/package/ng2-bs3-modal)
- HTML<a href="https://www.jsdocs.io/package/ng2-bs3-modal"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2756 ms. - Missing or incorrect documentation? Open an issue for this package.
