|
|
@ -18,12 +18,14 @@ public class ModalOptions
|
|
|
|
DisableBackdropClick = options.DisableBackdropClick;
|
|
|
|
DisableBackdropClick = options.DisableBackdropClick;
|
|
|
|
NoHeader = options.NoHeader;
|
|
|
|
NoHeader = options.NoHeader;
|
|
|
|
DisableEscKey = options.DisableEscKey;
|
|
|
|
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;
|
|
|
|
DisableEscKey = disableEscKey;
|
|
|
|
DisableBackdropClick = disableBackdropClick;
|
|
|
|
DisableBackdropClick = disableBackdropClick;
|
|
|
|
NoHeader = noHeader;
|
|
|
|
NoHeader = noHeader;
|
|
|
|
|
|
|
|
Type = type;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|