Skip to content
On this page

VWatermark

Container with watermark background

Import

js
import { VWatermark } from 'vui-vc-next'

app.component(VWatermark.name, VWatermark)

API

WaterMark Props

PropsDescriptionTypeDefaultNote
content-String-complex content is supported by scoped slot
spacing-String20vw-
repeat-x-Booleantrue-
repeat-y-Booleantrue-
rotate-String-30-
opacity-String0.1-

WaterMark Slots

default

Default slot of content

watermark

scoped slot of watermark content