Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100749

Add "throttle" function to complement "debounce"

    Details

      Description

      "debounce" is good for this like typeaheads, but we need "throttle" for things like resize and scroll event listeners.

      Will also need to update https://github.com/liferay/liferay-frontend-guidelines/blob/master/dxp/debouncing.md to describe when to use each.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                greg.hurrell Greg Hurrell
                Recent user:
                Clarissa Velazquez
                Participants of an Issue:
                Engineering Assignee:
                SE Support
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  Master