10. Template Editor Script
Updating the Information Card Widget
const placeholderElement = utility.createPlaceholderElement(placeholders.Contents.name);
const cardElement = utility.createElement("div");
cardElement.style.backgroundColor = "#d1ecf1";
cardElement.style.border = "1px solid #aadce5";
cardElement.style.borderRadius = "4px";
cardElement.style.padding = "8px";
cardElement.append(placeholderElement);
return cardElement;Last updated
Was this helpful?