Stencil Label not rendering #2577
Answered
by
kumilingus
gordon-brown
asked this question in
Q&A
-
IntroductionI want to add a descriptive header at the top a stencil. I am setting the label property of the stencil, but it is not rendering. See stencil code below. The label property is described as "A string or HTML Element rendered at the top of the stencil. It defaults to
Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS |
Beta Was this translation helpful? Give feedback.
Answered by
kumilingus
Mar 12, 2024
Replies: 1 comment 1 reply
-
The label is shown only if Note that you can add a label in HTML in the meantime. <label>My Label</label>
<div id="stencil-container"></div> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gordon-brown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The label is shown only if
groupsToggleButtons
option is set totrue
.This needs to be either reflected in the documentation or fixed.
Note that you can add a label in HTML in the meantime.