expand
should only expand?
#249
Replies: 1 comment 4 replies
-
Thanks for your suggestion Matthew. It is a good idea to rethink the current Before we do, it will be good to have a clear idea of the typical use cases. Here a start:
Anything to add to this list? One approach may be to create multiple methods to cater for these use cases. An other approach is to extend the current callback function of the method |
Beta Was this translation helpful? Give feedback.
-
I'm running into an issue where I'd like to expand newly added elements but preserve the expansion status of existing elements. The current behavior of expand to collapse if returning false is making this difficult to implement. Ideally, expand would only ever expand or do nothing. I think it would be reasonable to have an alternate collapse function that has the opposite behavior.
Beta Was this translation helpful? Give feedback.
All reactions