File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ export class AjaxDialogComponent implements OnInit{
2626 }
2727 ngAfterViewInit ( ) :void {
2828 document . getElementById ( 'ajaxBtn' ) . focus ( ) ;
29- this . dialog . show ( ) ;
3029 }
3130 public header : string = 'Twitter' ;
3231 public content : string = this . ajaxData ;
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ export class DefaultDialogComponent {
2121 public alertContent : string = '10% of battery remaining' ;
2222 public confirmContent : string = '<span>Are you sure you want to permanently delete all of these items?</span>' ;
2323 public showCloseIcon : Boolean = false ;
24+ public visible : Boolean = true ;
25+ public hidden : Boolean = false ;
2426 public confirmCloseIcon : Boolean = true ;
2527 public target : string = '.control-section' ;
2628 public alertWidth : string = '250px' ;
@@ -30,7 +32,6 @@ export class DefaultDialogComponent {
3032 public hide : any ;
3133 ngAfterViewInit ( ) :void {
3234 document . getElementById ( 'alertbtn' ) . focus ( ) ;
33- this . alertDialog . show ( ) ;
3435 document . getElementById ( 'password' ) . addEventListener ( "focus" , function ( ) {
3536 this . parentElement . classList . add ( 'e-input-focus' ) ;
3637 } ) ;
Original file line number Diff line number Diff line change 55
66 < button ej-button class ='dlgbtn ' #promptButton (click) ="promptBtnClick() "> Prompt</ button >
77
8- < ej-dialog #alertDialog [buttons] ='alertDlgButtons ' [header] ='alertHeader ' [animationSettings] ='animationSettings ' [content] ='alertContent ' [showCloseIcon] ='showCloseIcon ' (open) ="dialogOpen() " (close) ="dialogClose() " [target] ='target '
8+ < ej-dialog #alertDialog [buttons] ='alertDlgButtons ' [visible] =' visible ' [ header] ='alertHeader ' [animationSettings] ='animationSettings ' [content] ='alertContent ' [showCloseIcon] ='showCloseIcon ' (open) ="dialogOpen() " (close) ="dialogClose() " [target] ='target '
99 [width] ='alertWidth '>
1010 </ ej-dialog >
1111
12- < ej-dialog #confirmDialog [buttons] ='confirmDlgButtons ' [header] ='confirmHeader ' [animationSettings] ='animationSettings ' [content] ='confirmContent ' [showCloseIcon] ='confirmCloseIcon ' (open) ="dialogOpen() " (close) ="dialogClose() " [target] ='target '
12+ < ej-dialog #confirmDialog [buttons] ='confirmDlgButtons ' [visible] =' hidden ' [ header] ='confirmHeader ' [animationSettings] ='animationSettings ' [content] ='confirmContent ' [showCloseIcon] ='confirmCloseIcon ' (open) ="dialogOpen() " (close) ="dialogClose() " [target] ='target '
1313 [width] ='confirmWidth '>
1414 </ ej-dialog >
1515
16- < ej-dialog #promptDialog [buttons] ='promptDlgButtons ' [header] ='promptHeader ' [animationSettings] ='animationSettings ' [showCloseIcon] ='showCloseIcon ' [target] ='target ' (open) ="dialogOpen() " (close) ="dialogClose() " [width] ='promptWidth '>
16+ < ej-dialog #promptDialog [buttons] ='promptDlgButtons ' [visible] =' hidden ' [ header] ='promptHeader ' [animationSettings] ='animationSettings ' [showCloseIcon] ='showCloseIcon ' [target] ='target ' (open) ="dialogOpen() " (close) ="dialogClose() " [width] ='promptWidth '>
1717 < table style ="border-collapse: separate;border-spacing: 10px;width:100%;padding: 0px 20px 20px; ">
1818 < tr >
1919 < td > SSID:</ td >
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ export class ModalDialogComponent {
2121 public hide : any ;
2222 ngAfterViewInit ( ) :void {
2323 document . getElementById ( 'modalbtn' ) . focus ( ) ;
24- this . modalDialog . show ( ) ;
2524 }
2625 modalBtnClick ( ) {
2726 this . modalDialog . show ( ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ export class RTLDialogComponent {
2323 public hide : any ;
2424 ngAfterViewInit ( ) :void {
2525 document . getElementById ( 'rtlbtn' ) . focus ( ) ;
26- this . rtlDialog . show ( ) ;
2726 }
2827 dialogClose ( ) {
2928 document . getElementById ( 'rtlbtn' ) . style . display = '' ;
You can’t perform that action at this time.
0 commit comments