mand-mobile/components/landscape
MeloHG e2849108b5 test: 更新 Icon 相关快照 2023-02-01 22:02:10 +08:00
..
demo feat(landscape): add props transition for landscape & correct some typos (#624) 2019-12-26 10:51:59 +08:00
test test: 更新 Icon 相关快照 2023-02-01 22:02:10 +08:00
README.en-US.md feat(landscape): add props transition for landscape & correct some typos (#624) 2019-12-26 10:51:59 +08:00
README.md doc(landscape): update readme (#701) 2020-09-07 19:53:22 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.vue feat(landscape): add props transition for landscape & correct some typos (#624) 2019-12-26 10:51:59 +08:00

README.en-US.md

title preview
Landscape https://didi.github.io/mand-mobile/examples/#/landscape

To display ads or descriptions in a floating layer

Import

import { Landscape } from 'mand-mobile'

Vue.component(Landscape.name, Landscape)

Code Examples

API

Landscape Props

Props Description Type Default Note
v-model display popup layer or not Boolean false -
has-mask has mask or not Boolean true -
mask-closable if popup layer can be closed through clicking on the mask Boolean false -
full-screen whether display as full screen Boolean false -
transition the animation effect of dialog String when full-screen is true, the default value is md-fade;otherwise the default value is md-punch refer to Transition for optional values

Landscape Events

@show()

Display popup

@hide()

Hide popup