19 lines
381 B
Vue
19 lines
381 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs" />
|
|
<DocSectionCode :code="code" hideToggleCode import hideCodeSandbox hideStackBlitz />
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
code: {
|
|
basic: `import FocusTrap from 'primevue/focustrap';
|
|
|
|
app.directive('focustrap', FocusTrap);`
|
|
}
|
|
};
|
|
}
|
|
};
|
|
</script>
|