Landscape

To display ads or descriptions in a floating layer

Import

import { Landscape } from  'mand-mobile-next'

Vue.createApp().component(Landscape.name, Landscape)

Code Examples

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 md-fade;otherwise the default value is md-punchrefer to Transition for optional values

Landscape Events

@show()

Display popup

@hide()

Hide popup