educationZEN / eduzoo-components

This repository holds all the components necessary to write your own eduZOO
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Hide lengthy calculations #11

Closed joernweissenborn closed 9 years ago

joernweissenborn commented 9 years ago

the spoiler element is an clickable element which renders a e.g. a question with latex formulas and on click reveals another div which should be able to contain whatever. something like:

<eduzoo-spoiler>
  What is hidden?
  <div class="spoiler">
    This
  </div>
</eduzoo-spoiler>

Use this: https://github.com/Polymer/core-collapse/blob/master/demo.html

joernweissenborn commented 9 years ago

We also need a way to hide lengthy calculation. This shall be implemented similiar to the spoiler element using collapse.