Update MaskDoc.vue
parent
cab921e10c
commit
0a02b2d500
|
@ -2,9 +2,9 @@
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Adding <i>mask</i> property displays a modal layer behind the popup items.</p>
|
<p>Adding <i>mask</i> property displays a modal layer behind the popup items.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<div class="card p-3">
|
||||||
<div :style="{ position: 'relative', height: '350px' }">
|
<div :style="{ position: 'relative', height: '350px' }">
|
||||||
<SpeedDial :model="items" direction="up" mask :style="{ right: 0, bottom: 0 }" />
|
<SpeedDial :model="items" direction="up" mask :style="{ right: '1rem', bottom: '1rem' }" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<DocSectionCode :code="code" />
|
<DocSectionCode :code="code" />
|
||||||
|
@ -53,14 +53,13 @@ export default {
|
||||||
],
|
],
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<SpeedDial :model="items" direction="up" mask :style="{ right: 0, bottom: 0 }" />
|
<SpeedDial :model="items" direction="up" mask :style="{ right: '1rem', bottom: '1rem' }" />
|
||||||
`,
|
`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card p-3">
|
||||||
<div :style="{ position: 'relative', height: '350px' }">
|
<div :style="{ position: 'relative', height: '350px' }">
|
||||||
<SpeedDial :model="items" direction="up" mask :style="{ right: 0, bottom: 0 }" />
|
<SpeedDial :model="items" direction="up" mask :style="{ right: '1rem', bottom: '1rem' }" />
|
||||||
<Toast />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -113,10 +112,9 @@ data() {
|
||||||
`,
|
`,
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card p-3">
|
||||||
<div :style="{ position: 'relative', height: '350px' }">
|
<div :style="{ position: 'relative', height: '350px' }">
|
||||||
<SpeedDial :model="items" direction="up" mask :style="{ right: 0, bottom: 0 }" />
|
<SpeedDial :model="items" direction="up" mask :style="{ right: '1rem', bottom: '1rem' }" />
|
||||||
<Toast />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue