Page 1 of 1

wh_not_expandable

Posted: Thu Oct 19, 2017 8:29 pm
by kmank
I am trying to understand at what point and for what reason are specific elements tagged with a class of "wh_not_expandable".

We are passing data-product data for filtering content and I need to collapse specific paragraphs, but they have been given that class during the transformation.

Any suggestions?

Re: wh_not_expandable

Posted: Mon Oct 23, 2017 11:23 am
by alin
Hello,

The wh_not_expandable class is internally used by the "expand-collapse" mechanism in WebHelp Responsive and it should not affect your content filtering implementation.
The "expand-collapse" feature toggles the visible state of certain content in WebHelp. We use the class above to automatically mark the content that was initially hidden when the page loaded (e.g.: has the display:none property set). This way, after collapsing and re-expanding the content of a component, the content that was initially hidden remains that way.

If you need more information about how the "expand-collapse" feature works in WebHelp please let me know.

Alin