pl-hide-in-panel element¶
Hide the contents so that it is not displayed in specific panels ("question", "submission", or "answer").
Sample element¶
question.html
<pl-hide-in-panel submission="true" answer="true">
This text will be hidden in the submission panel and answer panel.
</pl-hide-in-panel>
Customizations¶
| Attribute | Type | Default | Description |
|---|---|---|---|
answer |
boolean | false | Whether to hide the element contents in the answer panel. |
question |
boolean | false | Whether to hide the element contents in the question panel. |
submission |
boolean | false | Whether to hide the element contents in the submission panel. |
Details¶
Hide the element contents in those panels for which the corresponding
attribute is true. This is the reverse of
pl-question-panel,
pl-submission-panel, or
pl-answer-panel, all of which explicitly show the
element contents only in a specific panel.
Example implementations¶
See also¶
pl-question-panelfor displaying the question prompt.pl-submission-panelfor changing how a submitted answer is displayed.pl-answer-panelfor displaying the question's solution.pl-external-grader-resultsfor showing the results from an externally graded code question.