iview/examples/routers/poptip.vue

22 lines
655 B
Vue
Raw Normal View History

<template>
2017-06-07 16:31:57 +08:00
<div>
<Poptip trigger="hover" title="提示标题" content="提示内容">
2017-06-20 16:47:37 +08:00
<Button>hover 激活</Button>
</Poptip>
2017-07-20 16:00:03 +08:00
<Poptip transfer title="提示标题" content="提示内容">
2017-06-20 16:47:37 +08:00
<Button>click 激活</Button>
</Poptip>
<Poptip trigger="focus" title="提示标题" content="提示内容">
<Button>focus 激活</Button>
</Poptip>
2017-06-07 16:31:57 +08:00
<Poptip trigger="focus" title="提示标题" content="提示内容">
<i-input placeholder="输入框的 focus"></i-input>
</Poptip>
</div>
</template>
<script>
export default {
2017-06-07 16:31:57 +08:00
}
2016-10-28 17:24:52 +08:00
</script>