|
|
|
@ -18,12 +18,14 @@ public class ModalOptions
|
|
|
|
|
DisableBackdropClick = options.DisableBackdropClick;
|
|
|
|
|
NoHeader = options.NoHeader;
|
|
|
|
|
DisableEscKey = options.DisableEscKey;
|
|
|
|
|
Type = options.Type;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ModalOptions(bool disableEscKey, bool disableBackdropClick, bool noHeader)
|
|
|
|
|
public ModalOptions(bool disableEscKey=false, bool disableBackdropClick=false, bool noHeader=false, ModalType type=ModalType.Default)
|
|
|
|
|
{
|
|
|
|
|
DisableEscKey = disableEscKey;
|
|
|
|
|
DisableBackdropClick = disableBackdropClick;
|
|
|
|
|
NoHeader = noHeader;
|
|
|
|
|
Type = type;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|