jcb-dialog
v1.0.11
Published
simple dialog
Downloads
4
Readme
Test
We must use a module bundler because of 'import' statements
parcel index.html
Publish
rm -rf .parcel-cache/
npm publish
Use in any JS framework
import 'jcb-dialog'
import 'jcb-list'
import 'jcb-button'
...
<jcb-dialog value="dialog" @input="closeDialog">
<h1>Confirmation</h1>
<jcb-list>
<jcb-list-item>Paul</jcb-list-item>
<jcb-list-item>Marie</jcb-list-item>
</jcb-list>
<jcb-button type="success">oui</jcb-button>
<jcb-button type="danger">non</jcb-button>
<jcb-button type="info">annuler</jcb-button>
</jcb-dialog>