mand-mobile/components/tip
remote_star 6f61506813 feat(tip, toast): enable passing number instead of string. 2018-04-26 11:00:53 +08:00
..
demo Initial commit 2018-03-26 16:04:04 +08:00
test Initial commit 2018-03-26 16:04:04 +08:00
README.md feat(tip, toast): enable passing number instead of string. 2018-04-26 11:00:53 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.js feat(tip, toast): enable passing number instead of string. 2018-04-26 11:00:53 +08:00
tip.vue feat(tip, toast): enable passing number instead of string. 2018-04-26 11:00:53 +08:00

README.md

title preview
Tip 气泡提示 https://didi.github.io/mand-mobile/examples/#/tip

引入

import { Tip } from 'mand-mobile'

Vue.component(Tip.name, Tip)

代码演示

API

Tips Props

属性 说明 类型 默认值 备注
content 提示文本内容 String, Number - -
placement 位置 String top top, left, bottom, right

Tip@show()

提示框显示后触发的事件

Tip@hide()

提示框隐藏后触发的事件