Skip to content

Callout ​

vue
<fv-callout v-model="show" effect="hover" position="bottomLeft">
  <fv-button icon="ActionCenter" borderRadius="3" style="width: 120px; height: 45px;">Callout</fv-button>
  <template v-slot:main>
    <fv-color-picker v-model="color" style="width:500px"></fv-color-picker>
  </template>
</fv-callout>

Callout Custom ​

beak:

space:

position:

topLeft

vue
<fv-callout :lockScroll="true" :position="position.key" :beak="beak" :space="space" :calloutBg="color" :borderRadius="12" theme="dark">
  <fv-button :background="color" theme="dark" icon="ActionCenter" borderRadius="3" style="width: 120px; height: 45px;">Callout</fv-button>
  <template v-slot:header>
    Fluent UI
  </template>
  <template v-slot:main>
    Hello Vue! Nice to meet you!
  </template>
  <template v-slot:footer>
    @Copyright Creator SN
  </template>
</fv-callout>

Properties ​


PropertyTypeRequiredDefaultDescription
v-modelBooleanNofalseWhether the component is visible.
themestringNo'global'Theme color.
disabledbooleanNofalseWhether the component is disabled.
spacenumberNo0Spacing in pixels between target and callout.
beaknumberNo0Beak size in pixels. Does not affect distance.
positionstringNo'bottomCenter'Position.
lockScrollbooleanNotrueWhether page scrolling is locked.
focusTrapbooleanNofalseWhether focus trapping is enabled.
delayClosenumberNo0See the Callout delayClose option.
effectstringNo'click'Display trigger mode.
popperStyleobjectNo{}Floating panel style.
popperClassarrayNo[]Floating panel CSS classes.
calloutBgstringNo''Background color for .fv-callout-bg.
borderRadiusnumber/stringNo5Border radius of the callout panel.
keepalivebooleanNofalseSee the Callout keepalive option.
langstringNo"global"See the Callout lang option.

Appendix ​


  1. position

MIT Licensed