sq-single-angular-modal
bootstrap modals for angular 4+
A Quick walkthrough
Install sq-single-angular-modal:
npm install sq-single-angular-modal --save
Configure root element
;;;
Declare application module
;; ;; ;
Bootstrap your application
; // The app module; // Compile and launch the moduleplatformBrowserDynamic.bootstrapModuleAppModule;
Opening a modal using the open() method
Drop in's are nice for quick interaction with modals, however in some cases we need more control.
For this we can use the open()
method, which is used by all drop in's internally.