MCPcopy Create free account
hub / github.com/Cu-chi/cuchi_computer / AddInformation

Function AddInformation

nui/scripts/script.js:986–991  ·  view source on GitHub ↗
(label, value)

Source from the content-addressed store, hash-verified

984 * @param {string | any} value its value
985 */
986const AddInformation = (label, value) => {
987 let informations = document.getElementById("informations-text");
988 let newParagraph = document.createElement("p");
989 newParagraph.innerHTML = `<span class="info-label">${label}</span> ${value}`;
990 informations.appendChild(newParagraph);
991}
992
993/**
994 * @typedef {Array} MessageBoxButtonsList

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected