mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 10:43:37 +09:00
first
This commit is contained in:
102
documentation/plugins/popover/popover-icon-documentation.md
Normal file
102
documentation/plugins/popover/popover-icon-documentation.md
Normal file
@@ -0,0 +1,102 @@
|
||||
### Icon popover
|
||||
|
||||
Popovers can hold any type of content, including existing Vuero components. You
|
||||
can easily add a `<VIconBox />` inside your popover.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<Tippy>
|
||||
<VButton>Hover me!</VButton>
|
||||
<template #content>
|
||||
<div class="v-popover-content is-text">
|
||||
<div class="popover-head">
|
||||
<VIconBox size="small" color="primary">
|
||||
<i class="lnil lnil-crown-alt-1" />
|
||||
</VIconBox>
|
||||
<h4 class="dark-inverted">
|
||||
Hover Popover
|
||||
</h4>
|
||||
</div>
|
||||
<div class="popover-body">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Tippy>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<div class="buttons">
|
||||
<Tippy>
|
||||
<VButton class="mx-1">Hover me!</VButton>
|
||||
<template #content>
|
||||
<div class="v-popover-content is-text">
|
||||
<div class="popover-head">
|
||||
<VIconBox size="small" color="primary">
|
||||
<VIcon icon="lucide:x"/>
|
||||
</VIconBox>
|
||||
<h4 class="dark-inverted">Hover Popover</h4>
|
||||
</div>
|
||||
<div class="popover-body">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Tippy>
|
||||
<Tippy>
|
||||
<VButton class="mx-1">Hover me!</VButton>
|
||||
<template #content>
|
||||
<div class="v-popover-content is-text">
|
||||
<div class="popover-head">
|
||||
<VIconBox size="small" color="info">
|
||||
<i class="lnil lnil-crown-alt-1"></i>
|
||||
</VIconBox>
|
||||
<h4 class="dark-inverted">Hover Popover</h4>
|
||||
</div>
|
||||
<div class="popover-body">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Tippy>
|
||||
<Tippy>
|
||||
<VButton class="mx-1">Hover me!</VButton>
|
||||
<template #content>
|
||||
<div class="v-popover-content is-text">
|
||||
<div class="popover-head">
|
||||
<VIconBox size="small" color="orange">
|
||||
<i class="lnil lnil-crown-alt-1"></i>
|
||||
</VIconBox>
|
||||
<h4 class="dark-inverted">Hover Popover</h4>
|
||||
</div>
|
||||
<div class="popover-body">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Tippy>
|
||||
<Tippy>
|
||||
<VButton class="mx-1">Hover me!</VButton>
|
||||
<template #content>
|
||||
<div class="v-popover-content is-text">
|
||||
<div class="popover-head">
|
||||
<VIconBox size="small" color="green">
|
||||
<i class="lnil lnil-crown-alt-1"></i>
|
||||
</VIconBox>
|
||||
<h4 class="dark-inverted">Hover Popover</h4>
|
||||
</div>
|
||||
<div class="popover-body">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</Tippy>
|
||||
</div>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user