ng2-bs3-modal

  • Version 0.15.0
  • Published
  • 502 kB
  • 1 dependency
  • ISC license

Install

npm i ng2-bs3-modal
yarn add ng2-bs3-modal
pnpm add ng2-bs3-modal

Overview

Angular Boostrap 3 Modal Component

Index

Classes

class BsModalBodyComponent

class BsModalBodyComponent {}

    class BsModalComponent

    class BsModalComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {}

      constructor

      constructor(element: any, service: BsModalService, zone: any);

        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: any;

                        property onDismiss

                        onDismiss: any;

                          property onHide

                          onHide: any;

                            property onLoaded

                            onLoaded: any;

                              property onOpen

                              onOpen: any;

                                property onShow

                                onShow: any;

                                  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$: any;

                                                                                            property onKeyboardClose$

                                                                                            onKeyboardClose$: any;

                                                                                              property onModalStack$

                                                                                              onModalStack$: any;

                                                                                                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: any, modal: BsModalComponent);

                                                                                                                    Interfaces

                                                                                                                    interface BsModalHideEvent

                                                                                                                    interface BsModalHideEvent {}

                                                                                                                      property event

                                                                                                                      event: Event;

                                                                                                                        property type

                                                                                                                        type: BsModalHideType;

                                                                                                                          interface BsModalOptions

                                                                                                                          interface BsModalOptions {}

                                                                                                                            property backdrop

                                                                                                                            backdrop: string | boolean;

                                                                                                                              property keyboard

                                                                                                                              keyboard: boolean;

                                                                                                                                Enums

                                                                                                                                enum BsModalHideType

                                                                                                                                enum BsModalHideType {
                                                                                                                                Close = 0,
                                                                                                                                Dismiss = 1,
                                                                                                                                Backdrop = 2,
                                                                                                                                Keyboard = 3,
                                                                                                                                RouteChange = 4,
                                                                                                                                Destroy = 5,
                                                                                                                                }

                                                                                                                                  member Backdrop

                                                                                                                                  Backdrop = 2

                                                                                                                                    member Close

                                                                                                                                    Close = 0

                                                                                                                                      member Destroy

                                                                                                                                      Destroy = 5

                                                                                                                                        member Dismiss

                                                                                                                                        Dismiss = 1

                                                                                                                                          member Keyboard

                                                                                                                                          Keyboard = 3

                                                                                                                                            member RouteChange

                                                                                                                                            RouteChange = 4

                                                                                                                                              Package Files (12)

                                                                                                                                              Dependencies (1)

                                                                                                                                              Dev Dependencies (0)

                                                                                                                                              No dev dependencies.

                                                                                                                                              Peer Dependencies (5)

                                                                                                                                              Badge

                                                                                                                                              To add a badge like this onejsDocs.io badgeto 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
                                                                                                                                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](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>