perf-monitor icon indicating copy to clipboard operation
perf-monitor copied to clipboard

Manipulate with container

Open AStaroverov opened this issue 8 years ago • 2 comments
trafficstars

Can u add ability for manage container node? For example i want add some css class for him.

AStaroverov avatar Jul 03 '17 14:07 AStaroverov

initPerfMonitor() has an option to specify custom container nodes.

var c = document.createElement("div");
c.className = "custom-container";
initPerfMonitor({ container: c });

localvoid avatar Jul 03 '17 15:07 localvoid

Thank u!

пн, 3 июл. 2017 г. в 18:36, Boris Kaul [email protected]:

initPerfMonitor() has an option to specify custom container nodes.

var c = document.createElement("div");c.className = "custom-container";initPerfMonitor({ container: c });

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/localvoid/perf-monitor/issues/4#issuecomment-312677446, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYL2eD5CkAl5iM8igDp7Mk9YNOIlLwYks5sKQpvgaJpZM4OMWJY .

AStaroverov avatar Jul 05 '17 10:07 AStaroverov