a11yAccordion
a11yAccordion copied to clipboard
add functionality to be able to disable rows programmatically
Need to add some CSS and JS functionality in order to be able to disable some of the rows.
Could you explain this situation? I am assuming we wouldn't be able to expand the disabled rows.
How would the disabled rows behave on search?
Well you can think of multiple ways of disabling rows.
a) if there is a specific class on the accordeon row then the row will appear disabled and won't respond to click events b) maybe using code?
var accordeon = a11yAccordeon(/* options */);
accordeon.disableRow(index);
accordeon.enableRow(index);
this feature is search agnostic. Search only shows/hides relative data no matter if it is disabled or not