是否有一些机制可以在Dart中以编程方式访问HTML5工具提示(标题属性)?
我想以编程方式显示工具提示,如果模型属性落在某个范围内,等等。
谢谢
发布于 2013-12-12 16:26:55
您需要获得元素,然后只需设置属性。
import 'dart:html';
main(args) {
document.querySelector('#idofyourtag').title = 'show this as tooltip';
}
https://stackoverflow.com/questions/20548709
复制相似问题