io.mats3.localinspect.localhtmlinspect.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mats-localinspect Show documentation
Show all versions of mats-localinspect Show documentation
Mats^3 tool that can output an embeddable HTML describing a MatsFactory and all its endpoints, as well as "local statistics", gathered using a Mats Interceptor.
function matsli_messages_summary(event) {
let button = event.target;
let parentSpan = button.closest("span")
parentSpan.querySelector(".matsli_msgs_details").classList.add("matsli_noshow");
parentSpan.querySelector(".matsli_msgs_details_btn").classList.remove("matsli_msgs_summary_or_details_btn_active");
parentSpan.querySelector(".matsli_msgs_summary").classList.remove("matsli_noshow");
parentSpan.querySelector(".matsli_msgs_summary_btn").classList.add("matsli_msgs_summary_or_details_btn_active");
}
function matsli_messages_details(event) {
let button = event.target;
let parentSpan = button.closest("span")
parentSpan.querySelector(".matsli_msgs_details").classList.remove("matsli_noshow");
parentSpan.querySelector(".matsli_msgs_details_btn").classList.add("matsli_msgs_summary_or_details_btn_active");
parentSpan.querySelector(".matsli_msgs_summary").classList.add("matsli_noshow");
parentSpan.querySelector(".matsli_msgs_summary_btn").classList.remove("matsli_msgs_summary_or_details_btn_active");
}