mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Code representation style fixes
This commit is contained in:
parent
11051fc020
commit
e0fe133189
863 changed files with 4545 additions and 2404 deletions
|
@ -74,12 +74,14 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
code1: {
|
||||
basic: `<ConfirmPopup id="confirm" aria-label="popup" />
|
||||
basic: `
|
||||
<ConfirmPopup id="confirm" aria-label="popup" />
|
||||
|
||||
<Button @click="openPopup($event)" label="Confirm" id="confirmButton" :aria-expanded="isVisible" :aria-controls="isVisible ? 'confirm' : null" />`
|
||||
},
|
||||
code2: {
|
||||
basic: `<script setup>
|
||||
basic: `
|
||||
<script setup>
|
||||
const confirm = useConfirm();
|
||||
const isVisible = ref(false);
|
||||
const openPopup = (event) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue