Skip to content

scroll()

Respond when the user scrolls over a Flow tile.

Updated View as Markdown
For humans
Flow functionFlow Pro scriptingBase functions

This article covers the following platforms

scroll runs when the user scrolls the tile with the scroll wheel.

scroll((event) => {
    example_event = {
        from: 'wheel', // where was the command sent from. Can be 'wheel' 'otto' or 'debugger'
        scroll: 100 // amount of scroll
    }
});

event: Details about where the scroll came from and the scroll amount. See example_event in the code above.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close