Last active
January 9, 2022 18:40
-
-
Save shishirraven/4b99ef6784c7477576e16df16db61fc3 to your computer and use it in GitHub Desktop.
Brave Dialog Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BraveDialog ref="bravedialog" dialogwidth="500px"> | |
<template #dialog-heading> | |
<img class="me-3" alt="Vue logo" width="30px;" src="../assets/logo.png"> VueJS Dialog | |
</template> | |
<template #dialog-body> | |
<div class="p-4">This is a BraveVue Dialog VueJS Component</div> | |
</template> | |
<template #footer> | |
<div class="btn btn-primary text-white m-4" @click="$refs.bravedialog.hide()">Close</div> | |
</template> | |
</BraveDialog> | |
<div @click="$refs.bravedialog.show()" class="btn btn-lg btn-primary text-white px-4"> | |
<i class="bi bi-window"></i> Open Dialog | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment