hwo to get when transition end js code example Example: js get transition duration parseFloat(getComputedStyle(sourceItem)["transitionDuration"])