【发布时间】:2021-07-12 21:18:19
【问题描述】:
我尝试在控件按钮顺序列表中添加工具提示
我的组件
Component({
selector: 'app-block',
templateUrl: './block.component.html',
styleUrls: ['./block.component.css'],
styles:[`
button[icon="pi pi-angle-double-up"] {
/* what should I write here */
}
`],
encapsulation: ViewEncapsulation.None
})
那么有没有其他方法可以向我想要的按钮添加工具提示,或者使用 css 执行此操作的正确方法是什么?
【问题讨论】:
标签: javascript css angular tooltip primeng