Skip to content
On this page

VLandscape ​

The display screen in a floating layer

Import ​

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

app.component(VLandscape.name, VLandscape)

API ​

Landscape Props ​

PropsDescriptionTypeDefaultNote
v-modeldisplay popup layer or notBooleanfalse-
has-maskhas mask or notBooleantrue-
mask-closableif popup layer can be closed through clicking on the maskBooleanfalse-
full-screenwhether display as full screenBooleanfalse-
transitionthe animation effect of dialogStringwhen full-screen is true, the default value is v-fade;otherwise the default value is v-punch

Landscape Events ​

@mask-click() ​

Click upon mask

@show() ​

Display popup

@hide() ​

Hide popup