HTML demos missing JS

I’m evaluating PatternFly v4 for a new project and I found that the HTML demos aren’t working properly. For example, the Accordion component:

https://www.patternfly.org/v4/documentation/core/components/accordion

does not expand/contract when clicking on the items, but the React version works as expected:

https://www.patternfly.org/v4/documentation/react/components/accordion/

It seems like the javascript for each of the components are missing. I tried looking in the github repo src, and I couldn’t them. I find it super discouraging when the non-React demos don’t work as expected and there isn’t any documentation on the recommended method of dealing with the JS.

Please advise.

hi @ttkaminski - the HTML examples are meant to show the various states that are possible for each component, they do not (by design) include javascript. Our React implementation is the default javascript implementation which encapsulates all of the functionality laid out in the design.