loading... Pacem JS

Expand/Collapse

The PacemCollapseElement is a container empowered with graceful expand/collapse capabilities.

Accordion

A natural application of the PacemCollapseElement is, of course, the accordion control.
In the following example, an accordion gets easily built-up by simply using declarative components.

[{ "name": "Archimedes (288 - 212 BC)", "wiki": "https://en.wikipedia.org/wiki/Archimedes", "content": "Archimedes of Syracuse was a Greek mathematician, physicist, engineer, inventor, and astronomer. Although few details of his life are known, he is regarded as one of the leading scientists in classical antiquity." }, { "name": "Galileo Galilei (1564 - 1642)", "wiki": "https://en.wikipedia.org/wiki/Galileo_Galilei", "content": "Galileo Galilei was an Italian astronomer, physicist and engineer, sometimes described as a polymath, from Pisa. Galileo has been called the "father of observational astronomy", the "father of modern physics", the "father of the scientific method", and the "father of modern science"." }, { "name": "Isaac Newton (1642 - 1727)", "wiki": "https://en.wikipedia.org/wiki/Isaac_Newton", "content": "Sir Isaac Newton PRS was an English mathematician, physicist, astronomer, theologian, and author who is widely recognised as one of the most influential scientists of all time, and a key figure in the scientific revolution." }, { "name": "Leonhard Euler (1707 - 1783)", "wiki": "https://en.wikipedia.org/wiki/Leonhard_Euler", "content": "Leonhard Euler was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who made important and influential discoveries in many branches of mathematics." }, { "name": "Carl Friedrich Gauss (1777 - 1855)", "wiki": "https://en.wikipedia.org/wiki/Carl_Friedrich_Gauss", "content": "Johann Carl Friedrich Gauss was a German mathematician and physicist who made significant contributions to many fields in mathematics and sciences." }]