harundemr / hd-js-confirm-alert

javascript confirm box design and alert design
27 stars 8 forks source link

There shouldn't be pre-defined parameters. #1

Closed aligoren closed 3 years ago

aligoren commented 4 years ago

There shouldn't be pre-defined parameters. For example, sweetalert requires at least one parameter to run.

https://github.com/harundemr/hd-js-confirm-alert/blob/866b89354976553ff4b1ce4e02df7d87b1383adf/js/hd-script.js#L12-L13

harundemr commented 4 years ago

Thats right for alert boxes. The predefined parameter is required for the confirmation boxes. I will remove to predefined parameters for alert boxes

aligoren commented 4 years ago

If I have free time, I can help you. Thanks :)