@elliemae/business-rules
v1.9.0
Published
Core library for business rules
Downloads
338
Readme
Business Rules Library
Dependencies
- NodeJS >= 20.x
pnpm i -g rimraf cross-env serve
Development
- clone the repo
pnpm i
Unit Test
pnpm test
API
- Intialize and reIntialize Business rules by calling function
BrInstance.init( {} {}, );
Function Doc - Use React Component to show Errors and PATF, component will take of showing validation messages as well as enable and disable of fields example:
<BrComponent fieldId={:fieldID} value={:value}>{Any Child Component}</BrComponent>
- To track Trigger field use Callback function
BrInstance.subscribeToTriggerFieldChange((fieldId, value) => { });
- For other public methods visit Documentation Portal