![](/img/trans.png)
[英]Is it possible to display a tooltip only when hovered over a checked radio button using jQuery
[英]Is it possible to display the description of a button when hovered over?
您可以使用标题
<button [disabled]="!isDisabled" name="enable" class="btn btn-default btn-margin" (click)="toggleDisabled()" title="Something"><i class="fa fa-pencil" aria-hidden="true"></i></button>
您是否尝试过title属性?
title="hello world"
这里的例子
http://w3schools.com/tags/tryit.asp?filename=tryhtml5_global_title
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.