mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
14
apps/showcase/doc/dynamicdialog/demo/FooterDemo.vue
Normal file
14
apps/showcase/doc/dynamicdialog/demo/FooterDemo.vue
Normal file
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<Button type="button" label="Cancel" icon="pi pi-times" @click="closeDialog({ buttonType: 'Cancel' })" autofocus></Button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
inject: ['dialogRef'],
|
||||
methods: {
|
||||
closeDialog(e) {
|
||||
this.dialogRef.close(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue