Fixed jump
parent
fd428bdb11
commit
0362c9e3a3
|
@ -2,8 +2,8 @@
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Messages can disappear automatically by defined the <i>life</i> in milliseconds.</p>
|
<p>Messages can disappear automatically by defined the <i>life</i> in milliseconds.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex flex-col items-center justify-center gap-4">
|
<div class="card flex flex-col items-center justify-center">
|
||||||
<Button label="Show" @click="showMessage" :disabled="visible" />
|
<Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
|
||||||
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
||||||
</div>
|
</div>
|
||||||
<DocSectionCode :code="code" />
|
<DocSectionCode :code="code" />
|
||||||
|
@ -16,13 +16,13 @@ export default {
|
||||||
visible: false,
|
visible: false,
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Button label="Show" @click="showMessage" :disabled="visible" />
|
<Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
|
||||||
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
||||||
`,
|
`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-col items-center justify-center gap-4">
|
<div class="card flex flex-col items-center justify-center">
|
||||||
<Button label="Show" @click="showMessage" :disabled="visible" />
|
<Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
|
||||||
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -48,8 +48,8 @@ export default {
|
||||||
`,
|
`,
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-col items-center justify-center gap-4">
|
<div class="card flex flex-col items-center justify-center">
|
||||||
<Button label="Show" @click="showMessage" :disabled="visible" />
|
<Button label="Show" @click="showMessage" :disabled="visible" class="mb-4" />
|
||||||
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
<Message v-if="visible" severity="success" :life="3000">Auto Disappear Message</Message>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue