primevue-mirror/apps/showcase/pages/focustrap/index.vue

32 lines
851 B
Vue
Raw Permalink 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',
2023-06-13 08:10:31 +00:00
label: 'Basic',
2023-02-28 08:29:30 +00:00
component: BasicDoc
}
]
2022-12-08 12:26:57 +00:00
};
}
};
</script>