Update SizesDoc.vue
parent
019f1607e9
commit
0f18af1887
|
@ -1,11 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Apply <i>.p-inputtext-sm</i> to reduce the size of the input element or <i>.p-inputtext-lg</i> to enlarge it.</p>
|
<p>InputText provides <i>small</i> and <i>large</i> sizes as alternatives to the standard.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex flex-column align-items-center gap-3">
|
<div class="card flex flex-column align-items-center gap-3">
|
||||||
<InputText v-model="value1" type="text" class="p-inputtext-sm" placeholder="Small" />
|
<InputText v-model="value1" type="text" size="small" placeholder="Small" />
|
||||||
<InputText v-model="value2" type="text" placeholder="Normal" />
|
<InputText v-model="value2" type="text" placeholder="Normal" />
|
||||||
<InputText v-model="value3" type="text" class="p-inputtext-lg" placeholder="Large" />
|
<InputText v-model="value3" type="text" size="large" placeholder="Large" />
|
||||||
</div>
|
</div>
|
||||||
<DocSectionCode :code="code" />
|
<DocSectionCode :code="code" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -19,15 +19,15 @@ export default {
|
||||||
value3: null,
|
value3: null,
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<InputText v-model="value1" type="text" class="p-inputtext-sm" placeholder="Small" />
|
<InputText v-model="value1" type="text" size="small" placeholder="Small" />
|
||||||
<InputText v-model="value2" type="text" placeholder="Normal" />
|
<InputText v-model="value2" type="text" placeholder="Normal" />
|
||||||
<InputText v-model="value3" type="text" class="p-inputtext-lg" placeholder="Large" />`,
|
<InputText v-model="value3" type="text" size="large" placeholder="Large" />`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-column align-items-center gap-3">
|
<div class="card flex flex-column align-items-center gap-3">
|
||||||
<InputText v-model="value1" type="text" class="p-inputtext-sm" placeholder="Small" />
|
<InputText v-model="value1" type="text" size="small" placeholder="Small" />
|
||||||
<InputText v-model="value2" type="text" placeholder="Normal" />
|
<InputText v-model="value2" type="text" placeholder="Normal" />
|
||||||
<InputText v-model="value3" type="text" class="p-inputtext-lg" placeholder="Large" />
|
<InputText v-model="value3" type="text" size="large" placeholder="Large" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -45,9 +45,9 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-column align-items-center gap-3">
|
<div class="card flex flex-column align-items-center gap-3">
|
||||||
<InputText v-model="value1" type="text" class="p-inputtext-sm" placeholder="Small" />
|
<InputText v-model="value1" type="text" size="small" placeholder="Small" />
|
||||||
<InputText v-model="value2" type="text" placeholder="Normal" />
|
<InputText v-model="value2" type="text" placeholder="Normal" />
|
||||||
<InputText v-model="value3" type="text" class="p-inputtext-lg" placeholder="Large" />
|
<InputText v-model="value3" type="text" size="large" placeholder="Large" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue