鼠标悬停或点击触发某区域时,弹出文本提示内容。
通过 content 属性或插槽设置提示内容
content
<template> <bp-tooltip content="This is a common text prompt content."> <bp-button>Text tip</bp-button> </bp-tooltip> </template>