Problem/Motivation

It would be super handy for developer experience if the module would fire an event if a scrollblock is becoming visible and if it is getting hidden.

That would make it possible to react on that event, for example

document.addEventListener('scroll_blocks_show_block', function(e) {
  e.detail.block.setAttribute(……);
}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

szeidler created an issue. See original summary.

  • szeidler committed 62d62028 on 2.x
    [#3556970] feat: Fire a event, if a scroll block becomes visible/gets...
szeidler’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.