@sohamerp/confirmation-box
v1.0.2
Published
Yes/No, OK, Obsolete Confirmation Box for angular project
Downloads
6
Maintainers
Readme
SOHAM CONFIRMATION BOX
This library required @angular/core@18 @angular/cli@18 or Upper version.
Box Type
- OK
- YES / NO
- REMARKS
- DELETE / OBSOLETE
- OBSOLETE / UNOBSOLETE
OK BOX
- It always return
true
Resonse.- HeaderText - Text for Confirmation Box.
- BodyText - Text will dispaly on box. You can use HTML tags to Make it more attractive.
- BtnName - Text for OK Button. (by default:
OK
) - btnOKIcon - Icon for OK Button. (by default:
fa-check
) - BoxSize - It must be
sm
|lg
|md
. (by default:lg
) - HeaderBGColor - Background for header of Confirmation Box. (by default:
royalblue
)
YES / NO BOX
- It will return
true
orfalse
Resonse.- HeaderText - Text for Confirmation Box.
- BodyText - Text will dispaly on box. You can use HTML tags to Make it more attractive.
- YesBtnName - Text for Yes Button. (by default:
YES
) - NoBtnName - Text for No Button. (by default:
NO
) - btnYesIcon - Icon for Yes Button. (by default:
fa-check
) - btnNoIcon - Icon for No Button. (by default:
fa-times
) - BoxSize - It must be
sm
|lg
|md
. (by default:lg
) - HeaderBGColor - Background for header of Confirmation Box. (by default:
royalblue
)
- YES Button will always return
true
. - NO Button will always return
false
.
REMARKS BOX
- It will return
Remarks
orfalse
Resonse.- HeaderText - Text for Confirmation Box.
- RemarksText - Text will dispaly in Remarks Field. You can also keep it blank.
- RemarkCompulsory - Is Remarks Compulsory?. (by default:
true
) - SubmitBtnName - Text for Submit Button. (by default:
SAVE
) - CancelBtnName - Text for Cancel Button. (by default:
CANCEL
) - btnSaveIcon - Icon for Yes Button. (by default:
fa-save
) - btnCancelIcon - Icon for No Button. (by default:
fa-times
) - BoxSize - It must be
sm
|lg
|md
. (by default:lg
) - HeaderBGColor - Background for header of Confirmation Box. (by default:
royalblue
)
- SAVE Button will always return
Remarks written in Remarks Field
. - CANCEL Button will always return
false
.
DELETE / OBSOLETE
- It will return
delete
orobsolete
orfalse
Resonse.- HeaderText - Text for Confirmation Box.
- BodyText - Text will dispaly on box. You can use HTML tags to Make it more attractive.
- ObsoleteFlag - Pass
delete
for DELETE / OBSOLETE Box. (by default:obsolete
) - SubmitBtnName - Text for Submit Button. (by default:
SAVE
) - CancelBtnName - Text for Cancel Button. (by default:
CANCEL
) - btnSaveIcon - Icon for Yes Button. (by default:
fa-check
) - btnCancelIcon - Icon for Cancel Button. (by default:
fa-times
) - BoxSize - It must be
sm
|lg
|md
. (by default:lg
) - HeaderBGColor - Background for header of Confirmation Box. (by default:
royalblue
)
- YES Button will always return
delete
. - SUBMIT Button will always return
obsolete
. - CANCEL Button will always return
false
.
OBSOLETE / UNOBSOLETE
- It will return
obsolete
orunobsolete
orfalse
Resonse.- HeaderText - Text for Confirmation Box.
- BodyText - Text will dispaly on box. You can use HTML tags to Make it more attractive.
- ObsoleteFlag - Pass
obsolete
for OBSOLETE /UNOBSOLETE Box. (by default:obsolete
) - SubmitBtnName - Text for Submit Button. (by default:
SAVE
) - CancelBtnName - Text for Cancel Button. (by default:
CANCEL
) - btnSaveIcon - Icon for Yes Button. (by default:
fa-check
) - btnCancelIcon - Icon for Cancel Button. (by default:
fa-times
) - BoxSize - It must be
sm
|lg
|md
. (by default:lg
) - HeaderBGColor - Background for header of Confirmation Box. (by default:
royalblue
)
- SUBMIT Button will return
obsolete
if Obsolete Box is Checked else it will returnunobsolete
. - CANCEL Button will always return
false
.