src/lib/resize.js
function triggerResize(callback) {
    const { animateContent, checked } = callback.getState()
    if ((animateContent === 'height' && checked) || (animateContent === 'marginTop' && !checked)) {
        callback()
    }
}
function triggerResize(callback) {
    const { animateContent, checked } = callback.getState()
    if ((animateContent === 'height' && checked) || (animateContent === 'marginTop' && !checked)) {
        callback()
    }
}
function triggerResize ( callback ) { const { animateContent , checked } = callback . getState ( ) if ( ( animateContent === 'height' && checked ) || ( animateContent === 'marginTop' && ! checked ) ) { callback ( ) } }
optimized only to be called on panels that actively can do transitions
optimized only to be called on panels that actively can do transitions