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" :popperStyle="{ backgroundColor: color }" 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.
beaknumberNo0Beak size in pixels.
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.
keepalivebooleanNofalseSee the Callout keepalive option.
langstringNo"global"See the Callout lang option.

Appendix


  1. position

MIT Licensed