Login to follow
Sweet Alert 2

Sweet Alert 2 (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 30 Jan by EONE TECHNOLOGIES PRIVATE LIMITED
Sweet Alert 2

Sweet Alert 2 (ODC)

Documentation
0.1.0

Step 1:

Install the component and take the dependency from this sweet alert 2 library.


Step 2 (Initialize):

Drag and drop the SweetAlert2Block in your screen or layout based on your need. If you want to have the sweet alert to be used all over the places of your project then its better to keep it in the layout main content. this will avoid multiple time inclusion of the block.


(OR)

Another method to initialize the Sweet Alert is include the initialize client action in the on application ready of the app. if you do this you don't need to follow above block level method.



Step 3:

Check the client actions. right now I have added 3 client actions as a first release of the component.


Step 4:

Create a button in your screen and button action. you may have different use cases. you can call the client actions on a different places based on your requirement to trigger the messages.



Step 5:

Pass the input parameter values to the client actions.