You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a behavio/u/r as suggested in the "anatomy of behaviors" document
"graphic": function(elt) {
let content = new Image();
content.src = this.rw(elt.getAttribute("url")); // "this" is the CETEI object.
if (elt.hasAttribute("width")) {
content.setAttribute("width",elt.getAttribute("width"));
}
if (elt.hasAttribute("height")) {
content.setAttribute("height",elt.getAttribute("height"));
}
return content;
},
I added a behavio/u/r as suggested in the "anatomy of behaviors" document
The TEI document contains e.g. things like this:
but they are always displayed without any sort of scaling (I've also tried specifying a width in px or mm )
The text was updated successfully, but these errors were encountered: