easycomponent-dialog

See the step by step to use the Dialog

Usage no npm install needed!

<script type="module">
  import easycomponentDialog from 'https://cdn.skypack.dev/easycomponent-dialog';
</script>

README

See the step by step to use the Dialog

1- npm install easycomponent-dialog --save

Screenshot

2- In the angular module you have declare DialogComponent

Screenshot

3- In the .ts file , you have to create a @ViewChild(DialogComponent) dialogSample: DialogComponent; Use the Dialog method with 3 parameters

1-Message

2-Message type (error,attention,success,neutral)

3-time to close

Screenshot

4- In the html file just add

Screenshot

5- Voila!!

Screenshot

Do. Or do not. There is no try.