You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that Chrome uses a native <details> implementation, so just triggering the close.details handler is not enough — you need to call .prop('open', false).
OK, thank you. Figured there would be a single method of invoking regardless of whether the behavior was native or polyfilled—obviously, this solution is simple enough, but I’d like to propose that feature, as a compliment to toggleOpen.
Trying to close all other details elements when one is opened, "accordion-style". Have tried this in Chrome:
as well as the same with
.trigger('close.details')
andtriggerHandler('close.details')
. Is this a bug or am I doing something wrong?The text was updated successfully, but these errors were encountered: