primevue-mirror/pages/focustrap/index.vue

32 lines
851 B
Vue
Raw Normal View History

2022-12-08 12:26:57 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent title="Vue FocusTrap Directive" header="Focus Trap" description="Focus Trap keeps focus within a certain DOM element while tabbing." :componentDocs="docs" :apiDocs="['FocusTrap']" />
2022-12-08 12:26:57 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import BasicDoc from '@/doc/focustrap/BasicDoc.vue';
import ImportDoc from '@/doc/focustrap/ImportDoc.vue';
2022-12-08 12:26:57 +00:00
export default {
data() {
return {
name: null,
email: null,
password: null,
2023-02-28 08:29:30 +00:00
accept: null,
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Label',
component: BasicDoc
}
]
2022-12-08 12:26:57 +00:00
};
}
};
</script>