kde-workspace/plasma/scriptengines/webkit/dashboard/AppleClasses/AppleInfoButton.js

9 lines
233 B
JavaScript
Raw Normal View History

2014-11-13 19:30:51 +02:00
function AppleInfoButton( placeElement, unknown, colorA, colorB, clickHandler){
var b = document.createElement("button");
b.appendChild(document.createTextNode("i"));
b.onclick = clickHandler;
placeElement.appendChild(b);
}