kde-workspace/plasma/scriptengines/webkit/dashboard/AppleClasses/AppleInfoButton.js
Ivailo Monev efbde9e504 plasma: organize sub-directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-24 22:48:47 +02:00

9 lines
No EOL
233 B
JavaScript

function AppleInfoButton( placeElement, unknown, colorA, colorB, clickHandler){
var b = document.createElement("button");
b.appendChild(document.createTextNode("i"));
b.onclick = clickHandler;
placeElement.appendChild(b);
}