SSENSE/vue-carousel

Feature: Emit Resize Event

開放

#417 建立於 2019年4月7日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (513 個分叉)batch import
featuregood first issuehelp wanted

倉庫指標

星標
 (1,705 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Current Behavior I'm currently running into an issue where I need the carousel to be an absolutely positioned element and need the carousel's height to position it between elements. I currently cannot accurately determine it's height since the carousel also recalculates its width and height on window resize.

Possible Solution A solution to resolve this would be to emit a resize event after the carousel height and width calculations on the onResize function.

貢獻者指南