primevue-mirror/apps/labs/doc/inputtext/HelpTextDoc.vue

32 lines
772 B
Vue
Raw Normal View History

2025-02-28 11:49:42 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>An advisory text can be defined with the <NuxtLink to="/message">Message</NuxtLink> component.</p>
</DocSectionText>
<div class="card flex justify-center">
2025-02-28 22:59:25 +00:00
<PlexInputText v-model="value" type="text" />
2025-02-28 11:49:42 +00:00
</div>
2025-02-28 22:59:25 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2025-02-28 11:49:42 +00:00
</template>
<script setup>
2025-02-28 22:59:25 +00:00
import PlexInputText from '@/plex/inputtext';
import { ref } from 'vue';
const value = ref(null);
const code = ref(`
2025-02-28 11:49:42 +00:00
<template>
<div class="card flex justify-center">
2025-02-28 22:59:25 +00:00
<PlexInputText v-model="value" type="text" />
2025-02-28 11:49:42 +00:00
</div>
</template>
<script setup>
2025-02-28 22:59:25 +00:00
import PlexInputText from '@/plex/inputtext';
2025-02-28 11:49:42 +00:00
import { ref } from 'vue';
const value = ref(null);
<\/script>
2025-02-28 22:59:25 +00:00
`);
2025-02-28 11:49:42 +00:00
</script>