Sha256: 31856b86eb51c67b80ae627c0fea81fcd07887aab37d837f768132ec222ffb72

Contents?: true

Size: 160 Bytes

Versions: 149

Compression:

Stored size: 160 Bytes

Contents

export const isTerminalScrolledDown = (
  scrollHeight,
  scrollTop,
  terminalHeight,
  tolerance
) => scrollTop <= scrollHeight - terminalHeight - tolerance;

Version data entries

149 entries across 149 versions & 2 rubygems

Version Path
foreman_rh_cloud-2.0.18.1 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.18.1 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.18 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-2.0.18 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.18 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.17 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.17 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.16 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.16 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.15 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.14 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-0.9.14 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-0.9.13.1 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
foreman_rh_cloud-1.0.13.1 webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js