← All Pull Requests
adom-3d: pass title and info through (component-widgets#2) #7
Closed opened by Ray
For adom/component-widgets#2: lets ::adom-3d pass title and info through to the widget.
component-widgets 1.1.21 reads title (the name the viewer's info bar shows for this model, defaulting to heading) and info="off" (hide the bar), and hands them to the wiki's /viewer/3d route as ?title= / ?info=0. The registry only passes the attributes listed here, so this adds title and info to adom-3d's attrs. One line in widgets.json.
heading already passes through, so pages that set it get per-model names once the viewer route reads ?title= (that half is a separate git-wiki PR).
Diff Skip to comments (1)
@@ -1,192 +1,193 @@⋯ 189 unchanged lines ⋯ "height": "auto" } ]+
Comments
Log in to comment.